org.apache.tapestry5.services.meta
Interface MetaWorker

All Known Implementing Classes:
MetaWorkerImpl

@UsesMappedConfiguration(key=java.lang.Class.class,
                         value=MetaDataExtractor.class)
public interface MetaWorker

Service that makes it easy to identify a class annotation and use its presence, or the value of an attribute, to set a meta-data key. The configuration map class annotation types to corresponding extractors who will be invoked when the annotation is present. Most commonly, a FixedExtractor is used to set a fixed value to a fixed key, triggered by the presence of the corresponding annotation.

Since:
5.2.0

Method Summary
 ComponentClassTransformWorker2 getWorker()
          Returns the worker that performs transformations (in 5.2, MetaWorker implemented ComponentClassTransformWorker).
 

Method Detail

getWorker

ComponentClassTransformWorker2 getWorker()
Returns the worker that performs transformations (in 5.2, MetaWorker implemented ComponentClassTransformWorker).

Returns:
worker that implements the meta data analysis


Copyright © 2003-2012 The Apache Software Foundation.