站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

XpathEvent (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.enterprise.deploy.model
Class XpathEvent

java.lang.Object
  extended byjavax.enterprise.deploy.model.XpathEvent

public final class XpathEvent
extends Object

An event describing ConfigBeans added/changed/removed from a configuration


Field Summary
static Object BEAN_ADDED
          A bean is added
static Object BEAN_CHANGED
          A bean is changed
static Object BEAN_REMOVED
          A bean is removed
 
Constructor Summary
XpathEvent(DDBean bean, Object type)
          Create a new XpathEvent
 
Method Summary
 DDBean getBean()
          Get the DDBean
 PropertyChangeEvent getChangeEvent()
          Get the property change event
 boolean isAddEvent()
          Is it an add event
 boolean isChangeEvent()
          Is it a change event
 boolean isRemoveEvent()
          Is it a remove event
 void setChangeEvent(PropertyChangeEvent propertyChangeEvent)
          Set the property change event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_ADDED

public static final Object BEAN_ADDED
A bean is added


BEAN_REMOVED

public static final Object BEAN_REMOVED
A bean is removed


BEAN_CHANGED

public static final Object BEAN_CHANGED
A bean is changed

Constructor Detail

XpathEvent

public XpathEvent(DDBean bean,
                  Object type)
Create a new XpathEvent

Parameters:
bean - the bean
type - the event type
Method Detail

getChangeEvent

public PropertyChangeEvent getChangeEvent()
Get the property change event

Returns:
the property change event

setChangeEvent

public void setChangeEvent(PropertyChangeEvent propertyChangeEvent)
Set the property change event

Parameters:
propertyChangeEvent - the property change event

getBean

public DDBean getBean()
Get the DDBean

Returns:
the DDBean

isAddEvent

public boolean isAddEvent()
Is it an add event

Returns:
true when it is an add event, false otherwise

isRemoveEvent

public boolean isRemoveEvent()
Is it a remove event

Returns:
true when it is a remove event, false otherwise

isChangeEvent

public boolean isChangeEvent()
Is it a change event

Returns:
true when it is a change event, false otherwise


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.