Top Description Fields Constructors Methods
javax.enterprise.deploy.model

public final Class XpathEvent

extends Object
Class Inheritance
Imports
java.beans.PropertyChangeEvent

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

Field Summary

Modifier and TypeField and Description
private final DDBean
public static final Object
BEAN_ADDED

Adding a DDBean

public static final Object
BEAN_CHANGED

Changing a DDBean

public static final Object
BEAN_REMOVED

Removing a DDBean

private PropertyChangeEvent
private final Object

Constructor Summary

AccessConstructor and Description
public
XpathEvent(DDBean
The ConfigBean being added/removed.
bean
,
Object
Indicates an add/remove event.
typ
)

A description of a change in the ConfigBean tree.

Method Summary

Modifier and TypeMethod and Description
public DDBean

Returns:

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

The bean being added/removed/changed.

public PropertyChangeEvent
public boolean

Returns:

true if this is an add event.
isAddEvent
()

Is this an add event?

public boolean

Returns:

true if this is a change event.
isChangeEvent
()

Is this a change event?

public boolean

Returns:

true if this is a remove event.
isRemoveEvent
()

Is this a remove event?

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beanback to summary
private final DDBean bean
BEAN_ADDEDback to summary
public static final Object BEAN_ADDED

Adding a DDBean

BEAN_CHANGEDback to summary
public static final Object BEAN_CHANGED

Changing a DDBean

BEAN_REMOVEDback to summary
public static final Object BEAN_REMOVED

Removing a DDBean

changeEventback to summary
private PropertyChangeEvent changeEvent
typback to summary
private final Object typ

Constructor Detail

XpathEventback to summary
public XpathEvent(DDBean bean, Object typ)

A description of a change in the ConfigBean tree.

Parameters
bean:DDBean

The ConfigBean being added/removed.

typ:Object

Indicates an add/remove event.

Method Detail

getBeanback to summary
public DDBean getBean()

The bean being added/removed/changed.

Returns:DDBean

The bean being added/removed/changed.

getChangeEventback to summary
public PropertyChangeEvent getChangeEvent()
isAddEventback to summary
public boolean isAddEvent()

Is this an add event?

Returns:boolean

true if this is an add event.

isChangeEventback to summary
public boolean isChangeEvent()

Is this a change event?

Returns:boolean

true if this is a change event.

isRemoveEventback to summary
public boolean isRemoveEvent()

Is this a remove event?

Returns:boolean

true if this is a remove event.

setChangeEventback to summary
public void setChangeEvent(PropertyChangeEvent pce)