|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.enterprise.deploy.model Class XpathEvent
java.lang.Object javax.enterprise.deploy.model.XpathEvent
public final class XpathEvent
- extends Object
描述从服务器配置中添加/减去的 ConfigBean 的事件类。
An Event class describing ConfigBeans being added/subtracted from a server configuration.
Field Summary | |
---|---|
static Object |
BEAN_ADDED
Adding a DDBean |
static Object |
BEAN_CHANGED
Changing a DDBean |
static Object |
BEAN_REMOVED
Removing a DDBean |
Constructor Summary | |
---|---|
XpathEvent(DDBean bean,
Object typ)
A description of a change in the ConfigBean tree. |
Method Summary | |
---|---|
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)
|
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
- 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
Constructor Detail |
---|
public
XpathEvent(DDBean bean, Object typ)
对 ConfigBean 树中更改的描述。
bean | 被添加或移除的 ConfigBean。 |
typ | 指示一个添加/移除事件。 |
XpathEvent
public XpathEvent(DDBean bean, Object typ)
- A description of a change in the ConfigBean tree.
- Parameters:
bean
- The ConfigBean being added/removed.typ
- Indicates an add/remove event.
Method Detail |
---|
public java.beans.PropertyChangeEvent
getChangeEvent()
英文文档:
getChangeEvent
public PropertyChangeEvent getChangeEvent()
public void
setChangeEvent(java.beans.PropertyChangeEvent pce)
英文文档:
setChangeEvent
public void setChangeEvent(PropertyChangeEvent pce)
public DDBean
getBean()
被添加/移除/更改的 Bean。
return | 被添加/移除/更改的 Bean。 |
getBean
public DDBean getBean()
- The bean being added/removed/changed.
- Returns:
- The bean being added/removed/changed.
public boolean
isAddEvent()
这是否为一个添加事件?
return | 如果这是一个添加事件,则返回 true。 |
isAddEvent
public boolean isAddEvent()
- Is this an add event?
- Returns:
- true if this is an add event.
public boolean
isRemoveEvent()
这是否为一个移除事件?
return | 如果这是一个移除事件,则返回 true。 |
isRemoveEvent
public boolean isRemoveEvent()
- Is this a remove event?
- Returns:
- true if this is a remove event.
public boolean
isChangeEvent()
这是否为一个更改事件?
return | 如果这是一个更改事件,则返回 true。 |
isChangeEvent
public boolean isChangeEvent()
- Is this a change event?
- Returns:
- true if this is a change event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!