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

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

public class UT2004ObserverFactory<PARAMS extends UT2004AgentParameters>
extends Object
implements IAgentFactory<UT2004Observer,PARAMS>

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

Can't be used to instantiate other classes!

If you need to instantiate own UT2004Observer descendant, use UT2004ObserverFactory and define own descendant of UT2004ObserverModule.

Author:
Jimmy

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

Constructor Detail

UT2004ObserverFactory

public UT2004ObserverFactory()
Method Detail

newAgent

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


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