View Javadoc

1   package cz.cuni.amis.pogamut.base.factory.guice;
2   
3   import cz.cuni.amis.pogamut.base.agent.IAgent;
4   import cz.cuni.amis.pogamut.base.agent.params.IRemoteAgentParameters;
5   
6   /**
7    * Guice agent factory configured by an agent module ({@link GuiceRemoteAgentModule}) that is specifying the bindings 
8    * for respective interfaces.
9    * 
10   * @author Jimmy
11   *
12   * @param <ADDRESS>
13   */
14  public class GuiceRemoteAgentFactory<AGENT extends IAgent, PARAMS extends IRemoteAgentParameters> extends GuiceAgentFactory<AGENT, PARAMS> {
15  	
16  	public GuiceRemoteAgentFactory(GuiceRemoteAgentModule agentModule) {
17  		super(agentModule);
18  	}
19  	
20  	@Override
21  	protected GuiceRemoteAgentModule getAgentModule() {
22  		return (GuiceRemoteAgentModule) super.getAgentModule();
23  	}
24  
25  }