planet.behaviour
Interface BehavioursPoolFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- BehavioursPoolFactoryImpl
- public interface BehavioursPoolFactory
- extends java.io.Serializable
This interface provides a method to get a
an instance of a BehavioursPool, a singleton object which dispatches some
behaviours whenever a message pattern matches a pattern for a behaviour.
A pattern is an aggregation of the type and mode of a message.
- Author:
- Marc Sanchez
buildBehavioursPool
public BehavioursPool buildBehavioursPool()
throws InitializationException
- Builds a BehaviourPool with the actual configuration on Behaviour.properties file.
- Returns:
- A reference to BehavioursPool.
- Throws:
InitializationException
- when an error occurs during the
initialization of the Behaviours pool or when this factory method is
nonapplicable.