Deprecated
for removal since 23.
BeanContextEvent is the abstract root event class
for all events emitted
from, and pertaining to the semantics of, a BeanContext.
This class introduces a mechanism to allow the propagation of
BeanContextEvent subclasses through a hierarchy of
BeanContexts. The setPropagatedFrom()
and getPropagatedFrom() methods allow a
BeanContext to identify itself as the source
of a propagated event.
java.beans.beancontext.BeanContext
| Modifier and Type | Field and Description |
|---|---|
| protected BeanContext | propagatedFrom
References Deprecated
The BeanContext is deprecated or references (maybe indirectly) at least one deprecated element.
BeanContext from which this event was propagated
|
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.7 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| protected | BeanContextEvent(BeanContext
The BeanContext source bc)
References Deprecated
BeanContext is deprecated or references (maybe indirectly) at least one deprecated element.
Construct a BeanContextEvent |
| Modifier and Type | Method and Description |
|---|---|
| public BeanContext | Returns: theBeanContext associated with this event.
References Deprecated
BeanContext is deprecated or references (maybe indirectly) at least one deprecated element.
Gets the |
| public synchronized BeanContext | Returns: theBeanContext from which this
event was propagated
References Deprecated
BeanContext is deprecated or references (maybe indirectly) at least one deprecated element.
Gets the |
| public synchronized boolean | Returns: true if propagated, false
if notReports whether or not this event is
propagated from some other |
| public synchronized void | setPropagatedFrom(BeanContext
the bc)BeanContext from which this event
was propagated
References Deprecated
BeanContext is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the |
| propagatedFrom | back to summary |
|---|---|
| protected BeanContext propagatedFrom
References Deprecated
See corresponding docs for further information. The
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.7 for interoperability. | |
| BeanContextEvent | back to summary |
|---|---|
| protected BeanContextEvent(BeanContext bc)
References Deprecated
See corresponding docs for further information. Construct a BeanContextEvent
| |
| getBeanContext | back to summary |
|---|---|
| public BeanContext getBeanContext()
References Deprecated
See corresponding docs for further information. Gets the
| |
| getPropagatedFrom | back to summary |
|---|---|
| public synchronized BeanContext getPropagatedFrom()
References Deprecated
See corresponding docs for further information. Gets the
| |
| isPropagated | back to summary |
|---|---|
| public synchronized boolean isPropagated() Reports whether or not this event is
propagated from some other
| |
| setPropagatedFrom | back to summary |
|---|---|
| public synchronized void setPropagatedFrom(BeanContext bc)
References Deprecated
See corresponding docs for further information. Sets the
| |