net.sf.genuine.organizer.internal
Class DefaultMessageBus

java.lang.Object
  extended bynet.sf.genuine.organizer.internal.DefaultMessageBus
All Implemented Interfaces:
InternalMessageBus, MessageBus

public class DefaultMessageBus
extends java.lang.Object
implements InternalMessageBus

Default implementation of message bus

Author:
Tim Wellhausen

Constructor Summary
(package private) DefaultMessageBus()
           
 
Method Summary
 Channel getChannel(java.lang.String channelName)
          Returns an existing channel with the given name if such a channel exists, null otherwise.
 void initializeChannels(org.jdom.Element messageBusElement)
          Takes an XML element that contains configuration data about the message channels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessageBus

DefaultMessageBus()
Method Detail

initializeChannels

public void initializeChannels(org.jdom.Element messageBusElement)
                        throws ConfigurationException
Description copied from interface: InternalMessageBus
Takes an XML element that contains configuration data about the message channels.

Specified by:
initializeChannels in interface InternalMessageBus
Throws:
ConfigurationException

getChannel

public Channel getChannel(java.lang.String channelName)
Returns an existing channel with the given name if such a channel exists, null otherwise.

Specified by:
getChannel in interface MessageBus