org.apache.tapestry.engine
Interface IComponentClassEnhancer


Deprecated. To be removed in 4.1

public interface IComponentClassEnhancer

A provider of enhanced classes, classes with new methods and new attributes, and possibly, implementing new Java interfaces. The primary use of class enhancement is to automate the creation of transient and persistant properties.

Implementations of this interface must be threadsafe.

Since:
3.0
Author:
Howard Lewis Ship
See Also:
ComponentConstructorFactory

Method Summary
 java.lang.Class getEnhancedClass(IComponentSpecification specification, java.lang.String className)
          Deprecated. Used to access the class for a given component (or page).
 

Method Detail

getEnhancedClass

public java.lang.Class getEnhancedClass(IComponentSpecification specification,
                                        java.lang.String className)
Deprecated. 
Used to access the class for a given component (or page). Returns the specified class, or an enhanced version of the class if the component requires enhancement.

Parameters:
specification - the specification for the component
className - the name of base class to enhance, as extracted from the specification (or possibly, from a default).
Throws:
org.apache.tapestry.ApplicationRuntimeException - if the class does not exist, is invalid, or may not be enhanced.