T
- subscriber type: ExecutionEventListener
or ExecutionEventNodeFactory
.public class EventBinding<T> extends Object
The subscription remains active until:
Modifier and Type | Method and Description |
---|---|
void |
attach()
Attach this binding to receive the associated notifications by the
subscriber . |
void |
dispose()
Cancels the subscription permanently.
|
T |
getElement() |
boolean |
isAttached()
Test if this binding is attached.
|
boolean |
isDisposed() |
public T getElement()
ExecutionEventNodeFactory
or
ExecutionEventListener
.public final boolean isAttached()
public final void attach()
subscriber
. When notification about existing sources were requested in binding creation,
notifications will be performed in this call.
The binding is attached automatically, when one of the Instrumenter
attach methods
were used. Use this for bindings created by Instrumenter
create methods only.
IllegalStateException
- when the binding is attached
already, or
when it was disposed
.public boolean isDisposed()
public void dispose()