cz.cuni.amis.pogamut.multi.factory.guice
Class GuiceTeamRemoteAgentFactory<AGENT extends IAgent,PARAMS extends ITeamRemoteAgentParameters>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory
      extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentFactory<AGENT,PARAMS>
          extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceRemoteAgentFactory<AGENT,PARAMS>
              extended by cz.cuni.amis.pogamut.multi.factory.guice.GuiceTeamRemoteAgentFactory<AGENT,PARAMS>
Type Parameters:
ADDRESS -
All Implemented Interfaces:
IAgentFactory<AGENT,PARAMS>

public class GuiceTeamRemoteAgentFactory<AGENT extends IAgent,PARAMS extends ITeamRemoteAgentParameters>
extends GuiceRemoteAgentFactory<AGENT,PARAMS>

Guice agent factory configured by an agent module (GuiceTeamRemoteAgentModule) that is specifying the bindings for respective interfaces.


Constructor Summary
GuiceTeamRemoteAgentFactory(GuiceTeamRemoteAgentModule agentModule)
           
 
Method Summary
protected  GuiceTeamRemoteAgentModule getAgentModule()
          Returns the module that the factory is working with.
 
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentFactory
configureModule, newAgent
 
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory
getInjector, setAgentModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceTeamRemoteAgentFactory

public GuiceTeamRemoteAgentFactory(GuiceTeamRemoteAgentModule agentModule)
Method Detail

getAgentModule

protected GuiceTeamRemoteAgentModule getAgentModule()
Description copied from class: AbstractGuiceAgentFactory
Returns the module that the factory is working with. Can be utilized to slip run-time dependencies into the module.

Overrides:
getAgentModule in class GuiceRemoteAgentFactory<AGENT extends IAgent,PARAMS extends ITeamRemoteAgentParameters>
Returns:
factory module