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);
}
Aggregations