public class ComponentClassAnnotationWorker extends java.lang.Object implements ClassAnnotationEnhancementWorker
IComponentSpecification
based on the
ComponentClass
annotation. In addition, marks the
component as deprecated if the Deprecated
annotation is present on the class.Constructor and Description |
---|
ComponentClassAnnotationWorker() |
Modifier and Type | Method and Description |
---|---|
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.
|
public ComponentClassAnnotationWorker()
public void performEnhancement(org.apache.tapestry.enhance.EnhancementOperation op, org.apache.tapestry.spec.IComponentSpecification spec, java.lang.Class baseClass, org.apache.hivemind.Location location)
ClassAnnotationEnhancementWorker
performEnhancement
in interface ClassAnnotationEnhancementWorker
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