org.apache.tapestry.annotations
Class ComponentClassAnnotationWorker
java.lang.Object
org.apache.tapestry.annotations.ComponentClassAnnotationWorker
- All Implemented Interfaces:
- ClassAnnotationEnhancementWorker
public class ComponentClassAnnotationWorker
- extends java.lang.Object
- implements ClassAnnotationEnhancementWorker
Sets properties of the IComponentSpecification
based on the
ComponentClass
annotation. In addition, marks the
component as deprecated if the Deprecated
annotation is present on the class.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Method Summary |
void |
performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
java.lang.Class baseClass,
org.apache.hivemind.Location location)
Performs a particular enhancement based on a registered annotation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentClassAnnotationWorker
public ComponentClassAnnotationWorker()
performEnhancement
public void performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op,
org.apache.tapestry.spec.IComponentSpecification spec,
java.lang.Class baseClass,
org.apache.hivemind.Location location)
- Description copied from interface:
ClassAnnotationEnhancementWorker
- Performs a particular enhancement based on a registered annotation. Exception reporting is
the responsibility of the caller.
- Specified by:
performEnhancement
in interface ClassAnnotationEnhancementWorker
- Parameters:
op
- the enhancement operarationspec
- the specification of the component for which a class is being enhancedbaseClass
- the class containing the annotationlocation
- the location associated with the annotation