org.apache.tapestry.annotations
Class ComponentClassAnnotationWorker
java.lang.Object
org.apache.tapestry.annotations.ComponentClassAnnotationWorker
- All Implemented Interfaces:
- ClassAnnotationEnhancementWorker
public class ComponentClassAnnotationWorker
- extends 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
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(EnhancementOperation op,
IComponentSpecification spec,
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
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.