net.sf.bus.spi
Interface DispatcherProvider

All Known Implementing Classes:
SyncDispatcherProvider, AsyncDispatcherProvider

public interface DispatcherProvider

Manages the instance creation of dispatchers. Thus, we could have a strategy that creates new instances for each dispatch, or shares a common dispatcher to save memory

Version:
$Revision: 1.2 $
Author:
James Higginbotham

Method Summary
 Dispatcher getDispatcher()
          Returns a dispatcher instance using its provision strategy
 

Method Detail

getDispatcher

public Dispatcher getDispatcher()
Returns a dispatcher instance using its provision strategy
Returns:
a Dispatcher for use in dispatching a message to subscribers


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