public class AttributeStoreBindingEvent<T extends AttributeStore> extends EventObject
AttributeStoreBindingListener when it is bound or unbound from an
attribute store, or to a AttributeStoreListener that has been
configured in the deployment descriptor when any attribute is bound,
unbound or replaced in a forking context.
The attribute store binds the object by a call to
AttributeStore.setAttribute and unbinds the object by a call
to AttributeStore.removeAttribute.
AttributeStore,
AttributeStoreListener,
AttributeStoreBindingListener,
Serialized Formsource| Constructor and Description |
|---|
AttributeStoreBindingEvent(T attributeStore,
String name)
Constructs an event that notifies an object that it has been bound
to or unbound from an attribute store.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getAttributeStore()
Returns the attribute store to or from which the object is bound or unbound.
|
String |
getName()
Returns the name with which the object is bound to or unbound from
the attribute store.
|
getSource, toStringpublic AttributeStoreBindingEvent(T attributeStore, String name)
AttributeStoreBindingListener.attributeStore - the attribute store to which the object is bound or unboundname - the name with which the object is bound or unboundpublic String getName()
public T getAttributeStore()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.