- java.lang.Object
-
- javax.enterprise.deploy.model.XpathEvent
-
public final class XpathEvent extends Object
An Event class describing ConfigBeans being added/subtracted from a server configuration.
-
-
Field Summary
Fields Modifier and Type Field and Description static Object
BEAN_ADDED
Adding a DDBeanstatic Object
BEAN_CHANGED
Changing a DDBeanstatic Object
BEAN_REMOVED
Removing a DDBean
-
Constructor Summary
Constructors Constructor and Description XpathEvent(DDBean bean, Object typ)
A description of a change in the ConfigBean tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DDBean
getBean()
The bean being added/removed/changed.PropertyChangeEvent
getChangeEvent()
boolean
isAddEvent()
Is this an add event?boolean
isChangeEvent()
Is this a change event?boolean
isRemoveEvent()
Is this a remove event?void
setChangeEvent(PropertyChangeEvent pce)
-
-
-
Field Detail
-
BEAN_ADDED
public static final Object BEAN_ADDED
Adding a DDBean
-
BEAN_REMOVED
public static final Object BEAN_REMOVED
Removing a DDBean
-
BEAN_CHANGED
public static final Object BEAN_CHANGED
Changing a DDBean
-
-
Method Detail
-
getChangeEvent
public PropertyChangeEvent getChangeEvent()
-
setChangeEvent
public void setChangeEvent(PropertyChangeEvent pce)
-
getBean
public DDBean getBean()
The bean being added/removed/changed.- Returns:
- The bean being added/removed/changed.
-
isAddEvent
public boolean isAddEvent()
Is this an add event?- Returns:
- true if this is an add event.
-
isRemoveEvent
public boolean isRemoveEvent()
Is this a remove event?- Returns:
- true if this is a remove event.
-
isChangeEvent
public boolean isChangeEvent()
Is this a change event?- Returns:
- true if this is a change event.
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/enterprise/deploy/model/XpathEvent.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.