View Javadoc

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