Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » util » property » [javadoc | source]
org.jboss.util.property
public interface: BoundPropertyListener [javadoc | source]

All Implemented Interfaces:
    PropertyListener

All Known Implementing Classes:
    FieldBoundPropertyListener, MethodBoundPropertyListener, BoundPropertyAdapter

The listener interface for receiving bound property events (as well as property events).

Classes that are interested in processing a bound property event implement this interface, and register instance objects with a given PropertyMap or via PropertyManager#addPropertyListener(PropertyListener) .

Note that this is not the typical listener interface, as it extends from PropertyListener , and defines #getPropertyName() which is not an event triggered method. This method serves to instruct the PropertyMap the listener is registered with, which property it will bind to.

Method from org.jboss.util.property.BoundPropertyListener Summary:
getPropertyName,   propertyBound,   propertyUnbound
Method from org.jboss.util.property.BoundPropertyListener Detail:
 public String getPropertyName()
    Get the property name which this listener is bound to.
 public  void propertyBound(PropertyMap map)
    Notifies that this listener was bound to a property.
 public  void propertyUnbound(PropertyMap map)
    Notifies that this listener was unbound from a property.