org.apache.tapestry.annotations
Class AssetAnnotationWorker

java.lang.Object
  extended by org.apache.tapestry.annotations.AssetAnnotationWorker
All Implemented Interfaces:
MethodAnnotationEnhancementWorker

public class AssetAnnotationWorker
extends Object
implements MethodAnnotationEnhancementWorker

Uses the Asset annotation to create a new IAssetSpecification which is then added to the IComponentSpecification.


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

AssetAnnotationWorker

public AssetAnnotationWorker()
Method Detail

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 operaration
spec - the specification of the component for which a class is being enhanced
method - the method to which the annotation is attached. The annotation may be obtained from the method.
location - TODO


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