cz.cuni.amis.pogamut.base.factory
Interface IAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>

Package class diagram package IAgentFactory
Type Parameters:
AGENT - type of the agent the factory is producing
PARAMS - type of the parameters that the agent is configured with
All Known Implementing Classes:
GuiceAgentFactory, GuiceRemoteAgentFactory, GuiceTeamRemoteAgentFactory

public interface IAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>

General factory that instantiates the agent according to the passed parameters. Note that every factory may require different IAgentParameters descendants/implementors according to the agent type and target agent environment.

Author:
Jimmy

Method Summary
 AGENT newAgent(PARAMS agentParameters)
          Factory method - it creates an agent with 'agentParameters'
 

Method Detail

newAgent

AGENT newAgent(PARAMS agentParameters)
                              throws cz.cuni.amis.utils.exception.PogamutException
Factory method - it creates an agent with 'agentParameters'

DOES NOT START THE AGENT!

Parameters:
agentParameters -
Returns:
new agent instance configured with 'agentParameters'
Throws:
cz.cuni.amis.utils.exception.PogamutException


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