net.sf.bus
Class MessageBusFactory

java.lang.Object
  |
  +--net.sf.bus.MessageBusFactory

public abstract class MessageBusFactory
extends java.lang.Object

Manages a singleton copy of the MessageBus for the VM

Version:
$Revision: 1.2 $
Author:
James Higginbotham

Constructor Summary
MessageBusFactory()
           
 
Method Summary
static MessageBus getInstance()
          Returns the singleton MessageBus for the VM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBusFactory

public MessageBusFactory()
Method Detail

getInstance

public static MessageBus getInstance()
                              throws MessageBusNotFoundException
Returns the singleton MessageBus for the VM
Returns:
the MessageBus
Throws:
MessageBusNotFoundException - if an implementation of the MessageBus was not found


This code may be freely distributed and modified under the terms of the GNU Lesser General Public Licence..