|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.AbstractModule
cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule<PARAMS>
cz.cuni.amis.pogamut.base.factory.guice.GuiceCommunicationModule<PARAMS>
cz.cuni.amis.pogamut.base.factory.guice.GuiceRemoteAgentModule<PARAMS>
cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004CommunicationModule<PARAMS>
cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotModule<PARAMS>
cz.cuni.amis.pogamut.ut2004multi.factory.guice.remoteagent.UT2004MultiBotModule<PARAMS>
public class UT2004MultiBotModule<PARAMS extends UT2004BotParameters>
Implements a bot module using shared WorldView
Field Summary | |
---|---|
protected AdaptableProvider<TeamedAgentId> |
teamedIdProvider
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotModule |
---|
worldViewDependenciesProvider |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004CommunicationModule |
---|
connectionDependenciesProvider |
Constructor Summary | |
---|---|
protected |
UT2004MultiBotModule()
|
|
UT2004MultiBotModule(Class<? extends IUT2004BotController> botControllerClass)
|
Method Summary | |
---|---|
protected void |
configureModules()
|
protected com.google.inject.Provider<TeamedAgentId> |
getTeamedAgentIdProvider()
|
void |
prepareNewAgent(PARAMS agentParameters)
Binds runtime dependencies to the module/ Injector . |
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceRemoteAgentModule |
---|
getAddressProvider |
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule |
---|
addModule, configure, createAgentScope, createAgentTeamScope, getAgentIdProvider, getAgentParamsProvider, getAgentScope, getAgentTeamScope |
Methods inherited from class com.google.inject.AbstractModule |
---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AdaptableProvider<TeamedAgentId> teamedIdProvider
Constructor Detail |
---|
protected UT2004MultiBotModule()
public UT2004MultiBotModule(Class<? extends IUT2004BotController> botControllerClass)
Method Detail |
---|
public void prepareNewAgent(PARAMS agentParameters)
UT2004CommunicationModule
Injector
.
Must be called before the new agent is instantiated with Injector
.
prepareNewAgent
in class UT2004BotModule<PARAMS extends UT2004BotParameters>
protected com.google.inject.Provider<TeamedAgentId> getTeamedAgentIdProvider()
protected void configureModules()
configureModules
in class UT2004BotModule<PARAMS extends UT2004BotParameters>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |