public abstract class BeanContextEvent extends EventObject
BeanContexts.| Modifier and Type | Field and Description |
|---|---|
protected BeanContext |
propagatedFrom
The
BeanContext that most recently passed this
event on. |
source| Modifier | Constructor and Description |
|---|---|
protected |
BeanContextEvent(BeanContext source)
Create a new event, from the specified
BeanContext. |
| Modifier and Type | Method and Description |
|---|---|
BeanContext |
getBeanContext()
Get the
BeanContext that originated this event. |
BeanContext |
getPropagatedFrom()
Get the most recent propagator of this event.
|
boolean |
isPropagated()
Tell whether this event has been propagated.
|
void |
setPropagatedFrom(BeanContext propagator)
Set the most recent propagator of this event.
|
getSource, toStringprotected BeanContext propagatedFrom
BeanContext that most recently passed this
event on.protected BeanContextEvent(BeanContext source)
BeanContext.
propagatedFrom will be initialized to
null.source - the source of the event.public BeanContext getBeanContext()
BeanContext that originated this event.public BeanContext getPropagatedFrom()
null, you have received the event
straight from the source.public boolean isPropagated()
true iff getPropagatedFrom() != null.public void setPropagatedFrom(BeanContext propagator)
propagator - the most recent propagator of this event.