public static class ProposedJobs.Broker extends AbstractEventBroker
| Constructor and Description |
|---|
Broker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBrokerForEvent(Event event)
this method should return true if this event broker can broker for
events of this type.
|
boolean |
canBrokerForListener(EventListener listener)
this method should return true if this broker can accept and propagate
events to the listener of this type.
|
protected void |
notifyEventListener(Event event,
EventListener listener)
This method has two functions.
|
String |
toString() |
addListener, backing, removeListenerequals, getListeners, hashCode, notifyForEventpublic boolean canBrokerForListener(EventListener listener)
EventBrokerevent instanceof <EventListener associated with this broker>canBrokerForListener in class EventBrokerpublic boolean canBrokerForEvent(Event event)
EventBrokerevent instanceof <EvenType associated with this broker>canBrokerForEvent in class EventBrokerprotected void notifyEventListener(Event event, EventListener listener)
EventBrokernotifyEventListener in class EventBrokerpublic String toString()
toString in class EventBrokerMMBase 1.9-SNAPSHOT - ${javadoctimestamp}