cz.cuni.amis.pogamut.base.factory.guice
Class GuiceRemoteAgentFactory<AGENT extends IAgent,PARAMS extends IRemoteAgentParameters>

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>
Type Parameters:
ADDRESS -
All Implemented Interfaces:
IAgentFactory<AGENT,PARAMS>
Direct Known Subclasses:
GuiceTeamRemoteAgentFactory

public class GuiceRemoteAgentFactory<AGENT extends IAgent,PARAMS extends IRemoteAgentParameters>
extends GuiceAgentFactory<AGENT,PARAMS>

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


Constructor Summary
GuiceRemoteAgentFactory(GuiceRemoteAgentModule agentModule)
           
 
Method Summary
protected  GuiceRemoteAgentModule 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

GuiceRemoteAgentFactory

public GuiceRemoteAgentFactory(GuiceRemoteAgentModule agentModule)
Method Detail

getAgentModule

protected GuiceRemoteAgentModule 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 AbstractGuiceAgentFactory
Returns:
factory module