cz.cuni.amis.pogamut.ut3.factory.guice.remoteagent
Class UT3BotFactory<BOT extends IUT2004Bot,PARAMS extends UT2004BotParameters>

Package class diagram package UT3BotFactory
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.ut3.factory.guice.remoteagent.UT3BotFactory<BOT,PARAMS>
Type Parameters:
BOT -
PARAMS -
All Implemented Interfaces:
IAgentFactory<BOT,PARAMS>

public class UT3BotFactory<BOT extends IUT2004Bot,PARAMS extends UT2004BotParameters>
extends GuiceAgentFactory<BOT,PARAMS>

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

For more info about the factory, see GuiceAgentFactory.

Author:
Jimmy

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

UT3BotFactory

public UT3BotFactory(UT3BotModule<PARAMS> agentModule)
Method Detail

getAgentModule

protected UT3BotModule<PARAMS> 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.