public class PageLifecycleAnnotationWorker extends Object implements ComponentClassTransformWorker2
RenderPhaseMethodWorker but applies to annotations/methods
related to the overall page lifecycle. Page lifecycle methods are always void and take no parameters.| Constructor and Description |
|---|
PageLifecycleAnnotationWorker(Class<? extends Annotation> methodAnnotationClass,
MethodDescription lifecycleMethodDescription,
String methodAlias) |
| Modifier and Type | Method and Description |
|---|---|
void |
transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Invoked to perform part of the transformation of the
PlasticClass. |
public PageLifecycleAnnotationWorker(Class<? extends Annotation> methodAnnotationClass, MethodDescription lifecycleMethodDescription, String methodAlias)
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
ComponentClassTransformWorker2PlasticClass.transform in interface ComponentClassTransformWorker2plasticClass - component class being transformedsupport - additional utilities needed during the transformationmodel - the model for the component being transformed5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.