View Javadoc

1   package nl.tudelft.goal.ut3.server;
2   
3   import com.google.inject.AbstractModule;
4   
5   import cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters;
6   import cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004ServerModule;
7   import cz.cuni.amis.pogamut.ut2004.server.IUT2004Server;
8   
9   public class EnvironmentControllerServerModule<PARAMS extends UT2004AgentParameters> extends UT2004ServerModule<PARAMS> {
10  	
11  	@Override
12  	protected void configureModules() {
13  		super.configureModules();
14  		addModule(new AbstractModule() {
15  
16  			@Override
17  			protected void configure() {
18  				bind(IUT2004Server.class).to(EnvironmentControllerServer.class);
19  			}
20  			
21  		});
22  	}
23  	
24  }