org.apache.tapestry.annotations
Class ComponentAnnotationWorker
java.lang.Object
org.apache.tapestry.annotations.ComponentAnnotationWorker
- All Implemented Interfaces:
- MethodAnnotationEnhancementWorker
public class ComponentAnnotationWorker
- extends Object
- implements MethodAnnotationEnhancementWorker
Adds a IContainedComponent
to the
IComponentSpecification
.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
- See Also:
Component
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAnnotationWorker
public ComponentAnnotationWorker()
performEnhancement
public void performEnhancement(EnhancementOperation op,
IComponentSpecification spec,
Method method,
org.apache.hivemind.Location location)
- Description copied from interface:
MethodAnnotationEnhancementWorker
- Performs a particular enhancement based on a registered annotation. Exception reporting is
the responsibility of the caller.
- Specified by:
performEnhancement
in interface MethodAnnotationEnhancementWorker
- Parameters:
op
- the enhancement operarationspec
- the specification of the component for which a class is being enhancedmethod
- the method to which the annotation is attached. The annotation
may be obtained from the method.location
- TODO
resolveComponentType
protected String resolveComponentType(Class retTypeClass)
invalidBinding
protected void invalidBinding(String binding)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.