All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.util.es.CompiledExtraStuffBean

java.lang.Object
   |
   +----com.ibm.beans.util.es.CompiledExtraStuffBean

public abstract class CompiledExtraStuffBean
extends Object
implements PropertyChangeListener, VetoableChangeListener, Serializable
The CompiledExtraStuffBean class is a base class for beans that contain compiled extra stuff. An ExtraStuffAggregator object will emit and compile new beans that extend this class.

See Also:
ExtraStuffAggregator

Variable Index

 o owners
 o propChangeSupport
 o vetoChangeSupport

Constructor Index

 o CompiledExtraStuffBean()
Create a CompiledExtraStuffBean instance.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Add a PropertyChangeListener object to the listener list.
 o addVetoableChangeListener(VetoableChangeListener)
Add a VetoableChangeListener object to the listener list.
 o mapExtraPropertyName(PropertyChangeEvent)
Maps from original property names to extra property names, for use by the propertyChange and vetoableChange events.
 o populate(ExtraStuffAggregator, Object[])
Populate this bean with references to the owner objects for all of the extra methods and properties that it implements.
 o propertyChange(PropertyChangeEvent)
Notify any listeners registered by this bean when the value of an extra property changes within an owner object.
 o removePropertyChangeListener(PropertyChangeListener)
Remove a PropertyChangeListener object from the listener list.
 o removeVetoableChangeListener(VetoableChangeListener)
Remove a VetoableChangeListener object from the listener list.
 o vetoableChange(PropertyChangeEvent)
Allow any listeners that are registered by this bean to veto a proposed value change of an extra property within an owner object, Use the extra property name declared within this bean, instead of the original property name declared by the owner object.

Variables

 o propChangeSupport
 protected PropertyChangeSupport propChangeSupport
 o vetoChangeSupport
 protected VetoableChangeSupport vetoChangeSupport
 o owners
 public Object owners[]

Constructors

 o CompiledExtraStuffBean
 public CompiledExtraStuffBean()
Create a CompiledExtraStuffBean instance.

Methods

 o populate
 protected void populate(ExtraStuffAggregator aggregator,
                         Object newOwners[]) throws ExtraStuffCompileFailedException
Populate this bean with references to the owner objects for all of the extra methods and properties that it implements. This method should only be called by the ExtraStuffAggregator object that emitted this bean.

Parameters:
aggregator -
The ExtraStuffAggregator object that emitted this bean.
newOwners -
An array of object references to be stored in the owner object array of this bean.
Throws: ExtraStuffCompileFailedException
Thrown if the owner object array of this bean cannot be populated with the correct owner object references.
 o mapExtraPropertyName
 public abstract String mapExtraPropertyName(PropertyChangeEvent evt)
Maps from original property names to extra property names, for use by the propertyChange and vetoableChange events. Must be overridden by emitted beans. Expected to return null if property name not found.

Parameters:
evt - The property change event to map.
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener object to the listener list.

Parameters:
listener - The PropertyChangeListener object to be added.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener object from the listener list.

Parameters:
listener - The PropertyChangeListener object to be removed.
 o propertyChange
 public void propertyChange(PropertyChangeEvent evt)
Notify any listeners registered by this bean when the value of an extra property changes within an owner object. Use the extra property name declared within this bean, instead of the original property name declared by the owner object.

Parameters:
evt - The PropertyChangedEvent object used to notify this bean.
 o addVetoableChangeListener
 public void addVetoableChangeListener(VetoableChangeListener listener)
Add a VetoableChangeListener object to the listener list.

Parameters:
listener - The VetoableChangeListener object to be added.
 o removeVetoableChangeListener
 public void removeVetoableChangeListener(VetoableChangeListener listener)
Remove a VetoableChangeListener object from the listener list.

Parameters:
listener - The VetoableChangeListener object to be removed.
 o vetoableChange
 public void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException
Allow any listeners that are registered by this bean to veto a proposed value change of an extra property within an owner object, Use the extra property name declared within this bean, instead of the original property name declared by the owner object.

Parameters:
evt - The PropertyChangedEvent object used to notify this bean.
Throws: PropertyVetoException
Thrown if a listener of this bean vetoes the property change.

All Packages  Class Hierarchy  This Package  Previous  Next  Index