- All Implemented Interfaces:
public class JSSystemEventConsumer
- extends JSEventConsumer
Used to create a consumer that wants to receive notification about specific events.
A system event consumer has to specifiy constraints and a condition (
When a system event is produced the EventAgent will check if there are registered consumers and
if the condition is met.
- Johannes Testori
- See Also:
- Serialized Form
Creates a new JSSystemEventConsumer.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JSSystemEventConsumer(java.lang.Object dest,
- Creates a new JSSystemEventConsumer.
dest - object that created the event and will receive the notification (producers can restrict the consumers a produced event will be sent to)
methodName - name of the method that will be invoked on
JSConsumerEvent.destination when an event occurs
constr - the constraints that will be compared to the system properties if this is a system event
constrCondition - the condition that has to be met to receive an event when the constraints are compared to the system properties, see