org.smartcomps.twister.engine.priv.messaging
Class MessagingFactory

java.lang.Object
  |
  +--org.smartcomps.twister.engine.priv.messaging.MessagingFactory

public class MessagingFactory
extends java.lang.Object

A factory for MessageBroker and MessageController interfaces

See Also:
MessageBroker, MessageController

Constructor Summary
MessagingFactory()
           
 
Method Summary
static org.smartcomps.twister.engine.priv.messaging.MessageBroker getMessageBroker()
          This method is the factory method of the MessageBroker interface.
static org.smartcomps.twister.engine.priv.messaging.MessageController getMessageController()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagingFactory

public MessagingFactory()
Method Detail

getMessageBroker

public static org.smartcomps.twister.engine.priv.messaging.MessageBroker getMessageBroker()
This method is the factory method of the MessageBroker interface. The default implementation for this interface does nothing interesting so to customize your MessageBroker just redefine your own one and declare it as the implementation in the twister-implementations.properties file.

Returns:
a MessageBroker implementation

getMessageController

public static org.smartcomps.twister.engine.priv.messaging.MessageController getMessageController()
Returns:
the MessageController implementation


Copyright © 2003 SmartComps. All Rights Reserved.