cz.cuni.amis.pogamut.udk.factory.guice.remoteagent
Class UDKServerFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters>

Package class diagram package UDKServerFactory
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory
      extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentFactory<SERVER,PARAMS>
          extended by cz.cuni.amis.pogamut.udk.factory.guice.remoteagent.UDKServerFactory<SERVER,PARAMS>
Type Parameters:
BOT -
PARAMS -
All Implemented Interfaces:
IAgentFactory<SERVER,PARAMS>

public class UDKServerFactory<SERVER extends IUDKServer,PARAMS extends UDKAgentParameters>
extends GuiceAgentFactory<SERVER,PARAMS>

Guice-base IUDKServer factory. It needs UDKServerModule to work correctly and the module is required to bound IAgent to the IUDKServer, otherwise the method UDKServerFactory#newAgent(IRemoteAgentParameters) will throw ClassCastException.

For more info about the factory, see GuiceAgentFactory.

Author:
Jimmy

Constructor Summary
UDKServerFactory(UDKServerModule agentModule)
           
 
Method Summary
protected  UDKServerModule getAgentModule()
           
 
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

UDKServerFactory

public UDKServerFactory(UDKServerModule agentModule)
Method Detail

getAgentModule

protected UDKServerModule getAgentModule()
Overrides:
getAgentModule in class AbstractGuiceAgentFactory


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.