|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.enterprise.deploy.model.XpathEvent
An Event class describing DDBeans being added to or removed from a J2EE application, or updated in place.
Field Summary | |
static java.lang.Object |
BEAN_ADDED
Adding a DDBean |
static java.lang.Object |
BEAN_CHANGED
Changing a DDBean |
static java.lang.Object |
BEAN_REMOVED
Removing a DDBean |
Constructor Summary | |
XpathEvent(DDBean bean,
java.lang.Object type)
A description of a change in the DDBean tree. |
Method Summary | |
DDBean |
getBean()
The bean being added/removed/changed. |
java.beans.PropertyChangeEvent |
getChangeEvent()
Gets the underlying property change event, with new and old values. |
boolean |
isAddEvent()
Is this an add event? |
boolean |
isChangeEvent()
Is this a change event? |
boolean |
isRemoveEvent()
Is this a remove event? |
void |
setChangeEvent(java.beans.PropertyChangeEvent pce)
Sets the underlying property change event, with new and old values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Object BEAN_ADDED
public static final java.lang.Object BEAN_REMOVED
public static final java.lang.Object BEAN_CHANGED
Constructor Detail |
public XpathEvent(DDBean bean, java.lang.Object type)
bean
- The DDBean being added, removed, or updated.type
- Indicates whether this is an add, remove, or update event.Method Detail |
public java.beans.PropertyChangeEvent getChangeEvent()
public void setChangeEvent(java.beans.PropertyChangeEvent pce)
pce
- The property change event that triggered this XpathEvent.public DDBean getBean()
public boolean isAddEvent()
true
if this is an add event.public boolean isRemoveEvent()
true
if this is a remove event.public boolean isChangeEvent()
true
if this is a change event.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |