cz.cuni.amis.pogamut.ut2004.factory.direct.remoteagent
Class UT2004ServerFactory<PARAMS extends UT2004AgentParameters>

Package class diagram package UT2004ServerFactory
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.factory.direct.remoteagent.UT2004ServerFactory<PARAMS>
Type Parameters:
PARAMS -
All Implemented Interfaces:
IAgentFactory<UT2004Server,PARAMS>

public class UT2004ServerFactory<PARAMS extends UT2004AgentParameters>
extends Object
implements IAgentFactory<UT2004Server,PARAMS>

Factory that uses direct instantiation (plain old Java style) of the UT2004Server class.

Can't be used to instantiate other classes!

If you need to instantiate own UT2004Server descendant, use UT2004ServerFactory and define own descendant of UT2004ServerModule.

Author:
Jimmy

Constructor Summary
UT2004ServerFactory()
           
 
Method Summary
 UT2004Server newAgent(PARAMS agentParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004ServerFactory

public UT2004ServerFactory()
Method Detail

newAgent

public UT2004Server newAgent(PARAMS agentParameters)
                      throws cz.cuni.amis.utils.exception.PogamutException
Specified by:
newAgent in interface IAgentFactory<UT2004Server,PARAMS extends UT2004AgentParameters>
Throws:
cz.cuni.amis.utils.exception.PogamutException


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