BOT - PARAMS - public class UT2004ObserverFactory<SERVER extends IUT2004Observer,PARAMS extends UT2004AgentParameters> extends GuiceAgentFactory<SERVER,PARAMS>
IUT2004Observer factory. It needs UT2004ObserverModule to work correctly and the module is required
to bound IAgent to the IUT2004Observer, otherwise the method UT2004ObserverFactory#newAgent(IRemoteAgentParameters)
will throw ClassCastException.
For more info about the factory, see GuiceAgentFactory.
| Constructor and Description |
|---|
UT2004ObserverFactory(UT2004ObserverModule agentModule) |
| Modifier and Type | Method and Description |
|---|---|
protected UT2004ObserverModule |
getAgentModule() |
configureModule, newAgentgetInjector, setAgentModulepublic UT2004ObserverFactory(UT2004ObserverModule agentModule)
protected UT2004ObserverModule getAgentModule()
getAgentModule in class AbstractGuiceAgentFactoryCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.