Search in sources :

Example 1 with PageLifecycleAnnotationWorker

use of org.apache.tapestry5.internal.transform.PageLifecycleAnnotationWorker in project tapestry-5 by apache.

the class TapestryModule method add.

private static void add(OrderedConfiguration<ComponentClassTransformWorker2> configuration, Class<? extends Annotation> annotationClass, MethodDescription description) {
    String name = TapestryInternalUtils.lastTerm(annotationClass.getName());
    ComponentClassTransformWorker2 worker = new PageLifecycleAnnotationWorker(annotationClass, description, name);
    configuration.add(name, worker);
}
Also used : ComponentClassTransformWorker2(org.apache.tapestry5.services.transform.ComponentClassTransformWorker2) PageLifecycleAnnotationWorker(org.apache.tapestry5.internal.transform.PageLifecycleAnnotationWorker)

Aggregations

PageLifecycleAnnotationWorker (org.apache.tapestry5.internal.transform.PageLifecycleAnnotationWorker)1 ComponentClassTransformWorker2 (org.apache.tapestry5.services.transform.ComponentClassTransformWorker2)1