XpathEvent (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.enterprise.deploy.model Class XpathEvent

java.lang.Object
  extended by javax.enterprise.deploy.model.XpathEvent

public final class XpathEvent
extends Object

An Event class describing ConfigBeans being added/subtracted from a server configuration.


字段摘要
static Object BEAN_ADDED
          Adding a DDBean
static Object BEAN_CHANGED
          Changing a DDBean
static Object BEAN_REMOVED
          Removing a DDBean
 
构造器摘要
XpathEvent(DDBean bean, Object typ)
          A description of a change in the ConfigBean tree.
 
方法摘要
 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)
           
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

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

构造器详细信息

XpathEvent

public XpathEvent(DDBean bean,
                  Object typ)
A description of a change in the ConfigBean tree.

参数:
bean - The ConfigBean being added/removed.
typ - Indicates an add/remove event.

方法详细信息

getChangeEvent

public PropertyChangeEvent getChangeEvent()

setChangeEvent

public void setChangeEvent(PropertyChangeEvent pce)

getBean

public DDBean getBean()
The bean being added/removed/changed.

返回:
The bean being added/removed/changed.

isAddEvent

public boolean isAddEvent()
Is this an add event?

返回:
true if this is an add event.

isRemoveEvent

public boolean isRemoveEvent()
Is this a remove event?

返回:
true if this is a remove event.

isChangeEvent

public boolean isChangeEvent()
Is this a change event?

返回:
true if this is a change event.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.