|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule<AgentParameters> cz.cuni.amis.pogamut.defcon.factory.DefConAgentModule
public class DefConAgentModule
Module for guice instantion.
Constructor Summary | |
---|---|
DefConAgentModule(Class<? extends DefConAgent> defConAgentClass,
Class<? extends IDefConAgentLogicController> defConAgentLogicControllerClass)
|
Method Summary | |
---|---|
protected void |
configureModules()
|
Class<? extends DefConAgent> |
getDefConAgentClass()
|
void |
newBindings(IAgentId agentId)
Binds runtime dependencies to the module/ Injector . |
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule |
---|
addModule, configure, createAgentScope, createAgentTeamScope, getAgentIdProvider, getAgentParamsProvider, getAgentScope, getAgentTeamScope, prepareNewAgent |
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 |
Constructor Detail |
---|
public DefConAgentModule(Class<? extends DefConAgent> defConAgentClass, Class<? extends IDefConAgentLogicController> defConAgentLogicControllerClass)
Method Detail |
---|
public Class<? extends DefConAgent> getDefConAgentClass()
public void newBindings(IAgentId agentId)
Injector
.
Must be called before the new agent is instantiated with Injector
.
agentId
- protected void configureModules()
configureModules
in class GuiceAgentModule<AgentParameters>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |