public class BasicDispatcher extends Dispatcher
consumers, identifier, name| Constructor and Description |
|---|
BasicDispatcher(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumerProfile(ConsumerProfile cp)
Add a consumer profile to the end of the list.
|
void |
dispatch(Context ctx)
Dispatch all events added to this Context according to configured
consumers.
|
getConsumers, getIdentifierpublic void addConsumerProfile(ConsumerProfile cp) throws java.lang.IllegalArgumentException
DispatcheraddConsumerProfile in class Dispatchercp - the event consumer profile to addjava.lang.IllegalArgumentExceptionpublic void dispatch(Context ctx)
dispatch in class Dispatcherctx - the execution contextCopyright © 2013 DuraSpace. All Rights Reserved.