cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent
Class UT2004AnalyzerFactory<ANALYZER extends IUT2004Analyzer,PARAMS extends UT2004AgentParameters>

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

public class UT2004AnalyzerFactory<ANALYZER extends IUT2004Analyzer,PARAMS extends UT2004AgentParameters>
extends GuiceAgentFactory<ANALYZER,PARAMS>

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

For more info about the factory, see GuiceAgentFactory.

Author:
Jimmy

Constructor Summary
UT2004AnalyzerFactory(UT2004AnalyzerModule agentModule)
           
 
Method Summary
protected  UT2004AnalyzerModule 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

UT2004AnalyzerFactory

public UT2004AnalyzerFactory(UT2004AnalyzerModule agentModule)
Method Detail

getAgentModule

protected UT2004AnalyzerModule 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.