org.apache.tapestry.enhance.javassist
Class EnhancedClass
java.lang.Object
org.apache.tapestry.enhance.BaseEnhancedClass
org.apache.tapestry.enhance.javassist.EnhancedClass
- All Implemented Interfaces:
- IEnhancedClass
public class EnhancedClass
- extends BaseEnhancedClass
Represents a class to be enhanced using Javassist.
- Since:
- 3.0
- Version:
- $Id: EnhancedClass.java 243876 2004-04-05 15:51:22Z hlship $
- Author:
- Mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnhancedClass
public EnhancedClass(String className,
Class parentClass,
EnhancedClassFactory classFactory)
getClassName
public String getClassName()
- See Also:
IEnhancedClass.getClassName()
getObjectType
public javassist.CtClass getObjectType(String type)
getClassFabricator
public ClassFabricator getClassFabricator()
createProperty
public void createProperty(String propertyName,
String propertyType)
- Description copied from interface:
IEnhancedClass
- Adds an enhancer for creating the specified property.
- See Also:
IEnhancedClass.createProperty(java.lang.String, java.lang.String)
createProperty
public void createProperty(String propertyName,
String propertyType,
String readMethodName,
boolean persistent)
- See Also:
IEnhancedClass.createProperty(java.lang.String, java.lang.String, java.lang.String, boolean)
createAutoParameter
public void createAutoParameter(String propertyName,
String parameterName,
String typeClassName,
String readMethodName)
- See Also:
IEnhancedClass.createAutoParameter(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
createEnhancedSubclass
public Class createEnhancedSubclass()
- See Also:
IEnhancedClass.createEnhancedSubclass()