com.agentfactory.cldc
Interface ModuleFactory


public interface ModuleFactory

This class is extended by factories that are used to create modules. Factories are only required when migration is being used.

Author:
Conor Muldoon

Method Summary
 Module createModule(AgentName an)
          Factory classes implement this interface to create a module in the migration process.
 

Method Detail

createModule

Module createModule(AgentName an)
Factory classes implement this interface to create a module in the migration process. Each module that is created when an agent migrates on to the platform will require its own factory class.

Parameters:
an - the name of the agent that the module belongs to.
Returns:
the created module.