org.apache.tapestry.annotations
Class AnnotationEnhancementWorker

java.lang.Object
  extended by org.apache.tapestry.annotations.AnnotationEnhancementWorker
All Implemented Interfaces:
EnhancementWorker

public class AnnotationEnhancementWorker
extends Object
implements EnhancementWorker

Implementation of EnhancementWorker that finds class and method annotations and delegates out to specific ClassAnnotationEnhancementWorker and MethodAnnotationEnhancementWorker instances.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
AnnotationEnhancementWorker()
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, IComponentSpecification spec)
           
 void setClassResolver(org.apache.hivemind.ClassResolver classResolver)
           
 void setClassWorkers(Map<Class,ClassAnnotationEnhancementWorker> classWorkers)
           
 void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
           
 void setMethodWorkers(Map<Class,MethodAnnotationEnhancementWorker> methodWorkers)
           
 void setSecondaryAnnotationWorkers(List<SecondaryAnnotationWorker> workers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationEnhancementWorker

public AnnotationEnhancementWorker()
Method Detail

setClassWorkers

public void setClassWorkers(Map<Class,ClassAnnotationEnhancementWorker> classWorkers)

performEnhancement

public void performEnhancement(EnhancementOperation op,
                               IComponentSpecification spec)
Specified by:
performEnhancement in interface EnhancementWorker

setMethodWorkers

public void setMethodWorkers(Map<Class,MethodAnnotationEnhancementWorker> methodWorkers)

setErrorLog

public void setErrorLog(org.apache.hivemind.ErrorLog errorLog)

setClassResolver

public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)

setSecondaryAnnotationWorkers

public void setSecondaryAnnotationWorkers(List<SecondaryAnnotationWorker> workers)


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