i = agents.iterator(); while (i.hasNext()) { agentInfo = (AgentInfo) i.next(); a = agentInfo.getAgent(); a.activate(); }   RenderingEngine re = RenderingEngine.getInstance(this); re.activate(); LoginManager lm = LoginManager.getInstance(this); lm.activate();    AWTExceptionHanlder.configure(this);
	public void startService()	{		List agents = (List) singleton.registry.lookup(LookupNames.AGENTS);		Iterator i = agents.iterator();		AgentInfo agentInfo;		Agent a;				//Agents linking phase.		while (i.hasNext()) {			agentInfo = (AgentInfo) i.next();			a = agentInfo.getAgent();			a.setContext(agentInfo.getRegistry());		}				//Agents activation phase.		i = agents.iterator();		while (i.hasNext()) {			agentInfo = (AgentInfo) i.next();			a = agentInfo.getAgent();			a.activate();		}				//TODO: activate services (EventBus, what else?).		RenderingEngine re = RenderingEngine.getInstance(this);		re.activate();		LoginManager lm = LoginManager.getInstance(this);		lm.activate();		//TODO: RE threads should be spawn during an init task.				//This is subject to change (see class javadoc).		AWTExceptionHanlder.configure(this);				//Get ready to interact with the user...		TopFrame tf = singleton.registry.getTopFrame();		tf.open();	}