cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent
Class UT2004ObserverFactory<SERVER extends IUT2004Observer,PARAMS extends UT2004AgentParameters>
java.lang.Object
cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory
cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentFactory<SERVER,PARAMS>
cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004ObserverFactory<SERVER,PARAMS>
- Type Parameters:
BOT - PARAMS -
- All Implemented Interfaces:
- IAgentFactory<SERVER,PARAMS>
public class UT2004ObserverFactory<SERVER extends IUT2004Observer,PARAMS extends UT2004AgentParameters>
- extends GuiceAgentFactory<SERVER,PARAMS>
Guice-based 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.
- Author:
- Jimmy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UT2004ObserverFactory
public UT2004ObserverFactory(UT2004ObserverModule agentModule)
getAgentModule
protected UT2004ObserverModule getAgentModule()
- Overrides:
getAgentModule in class AbstractGuiceAgentFactory
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.