org.apache.tapestry.annotations
Class ComponentClassAnnotationWorker

java.lang.Object
  extended by 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

Constructor Summary
ComponentClassAnnotationWorker()
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, IComponentSpecification spec, 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
 

Constructor Detail

ComponentClassAnnotationWorker

public ComponentClassAnnotationWorker()
Method Detail

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 operaration
spec - the specification of the component for which a class is being enhanced
baseClass - the class containing the annotation
location - the location associated with the annotation


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.