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
-
owners
-
-
propChangeSupport
-
-
vetoChangeSupport
-
-
CompiledExtraStuffBean()
- Create a CompiledExtraStuffBean instance.
-
addPropertyChangeListener(PropertyChangeListener)
- Add a PropertyChangeListener object to the listener list.
-
addVetoableChangeListener(VetoableChangeListener)
- Add a VetoableChangeListener object to the listener list.
-
mapExtraPropertyName(PropertyChangeEvent)
- Maps from original property names to extra property names, for use
by the propertyChange and vetoableChange events.
-
populate(ExtraStuffAggregator, Object[])
- Populate this bean with references to the owner objects for
all of the extra methods and properties that it implements.
-
propertyChange(PropertyChangeEvent)
- Notify any listeners registered by this bean when the value of
an extra property changes within an owner object.
-
removePropertyChangeListener(PropertyChangeListener)
- Remove a PropertyChangeListener object from the listener list.
-
removeVetoableChangeListener(VetoableChangeListener)
- Remove a VetoableChangeListener object from the listener list.
-
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.
propChangeSupport
protected PropertyChangeSupport propChangeSupport
vetoChangeSupport
protected VetoableChangeSupport vetoChangeSupport
owners
public Object owners[]
CompiledExtraStuffBean
public CompiledExtraStuffBean()
- Create a CompiledExtraStuffBean instance.
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.
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.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Add a PropertyChangeListener object to the listener list.
- Parameters:
- listener - The PropertyChangeListener object to be added.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Remove a PropertyChangeListener object from the listener list.
- Parameters:
- listener - The PropertyChangeListener object to be removed.
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.
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
- Add a VetoableChangeListener object to the listener list.
- Parameters:
- listener - The VetoableChangeListener object to be added.
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
- Remove a VetoableChangeListener object from the listener list.
- Parameters:
- listener - The VetoableChangeListener object to be removed.
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