public class RelationEventBroker extends AbstractEventBroker
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NODETYPE
use this property to make shure your listener only gets the relation
events where the node number matches the given value.
|
| Constructor and Description |
|---|
RelationEventBroker() |
| 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 static final String PROPERTY_NODETYPE
public 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) throws ClassCastException
EventBrokernotifyEventListener in class EventBrokerClassCastExceptionpublic String toString()
toString in class EventBrokerMMBase 1.9-SNAPSHOT - ${javadoctimestamp}