public class MetaAnnotationWorker extends java.lang.Object implements ClassAnnotationEnhancementWorker
Meta
annotation, and converts it into
properties on the specification. It is desirable to have meta data in base classes be "merged"
with meta data from sub classes, with the sub classes overriding any conflicting elements from
the base class. What we do is work our way up the inheritance tree to java.lang.Object and work
with each Meta annotation we find.Constructor and Description |
---|
MetaAnnotationWorker() |
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 MetaAnnotationWorker()
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