|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.beans.beancontext
Class BeanContextEvent

java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BeanContextMembershipEvent, BeanContextServiceAvailableEvent, BeanContextServiceRevokedEvent
- public abstract class BeanContextEvent
- extends java.util.EventObject
Generic superclass for events fired by BeanContexts.
- Since:
- 1.2
| Field Summary | |
protected BeanContext |
propagatedFrom
The BeanContext that most recently passed this
event on. |
private static long |
serialVersionUID
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
protected |
BeanContextEvent(BeanContext source)
Create a new event, from the specified BeanContext. |
| Method Summary | |
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. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
propagatedFrom
protected BeanContext propagatedFrom
- The
BeanContextthat most recently passed this event on.
| Constructor Detail |
BeanContextEvent
protected BeanContextEvent(BeanContext source)
- Create a new event, from the specified
BeanContext.propagatedFromwill be initialized tonull.
| Method Detail |
getBeanContext
public BeanContext getBeanContext()
- Get the
BeanContextthat originated this event.
getPropagatedFrom
public BeanContext getPropagatedFrom()
- Get the most recent propagator of this event.
If this value is
null, you have received the event straight from the source.
isPropagated
public boolean isPropagated()
- Tell whether this event has been propagated.
setPropagatedFrom
public void setPropagatedFrom(BeanContext propagator)
- Set the most recent propagator of this event.
|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC