org.apache.tapestry.enhance
Class CreatePropertyEnhancer
java.lang.Object
|
+--org.apache.tapestry.enhance.CreatePropertyEnhancer
- All Implemented Interfaces:
- IEnhancer
- public class CreatePropertyEnhancer
- extends Object
- implements IEnhancer
Creates a new property of a particular type in the enhanced subclass. May optionally
make the property a persistent property, by injecting an invocation of
AbstractComponent.fireObservedChange(String, Object)
into the mutator (setter) method.
- Since:
- 3.0
- Version:
- $Id: CreatePropertyEnhancer.java,v 1.6 2003/05/16 18:54:23 hlship Exp $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreatePropertyEnhancer
public CreatePropertyEnhancer(String propertyName,
org.apache.bcel.generic.Type propertyType)
CreatePropertyEnhancer
public CreatePropertyEnhancer(String propertyName,
org.apache.bcel.generic.Type propertyType,
String readMethodName,
boolean persistent)
performEnhancement
public void performEnhancement(ComponentClassFactory factory)
- Specified by:
performEnhancement
in interface IEnhancer