cz.cuni.amis.pogamut.udk.factory.guice.remoteagent
Class UDKBotFactory<BOT extends IUDKBot,PARAMS extends UDKAgentParameters>

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

public class UDKBotFactory<BOT extends IUDKBot,PARAMS extends UDKAgentParameters>
extends GuiceAgentFactory<BOT,PARAMS>

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

For more info about the factory, see GuiceAgentFactory.

Author:
Jimmy

Constructor Summary
UDKBotFactory(UDKBotModule<PARAMS> agentModule)
           
 
Method Summary
protected  UDKBotModule<PARAMS> 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

UDKBotFactory

public UDKBotFactory(UDKBotModule<PARAMS> agentModule)
Method Detail

getAgentModule

protected UDKBotModule<PARAMS> getAgentModule()
Overrides:
getAgentModule in class AbstractGuiceAgentFactory


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