Class RetainWorker
java.lang.Object
org.apache.tapestry5.internal.transform.RetainWorker
- All Implemented Interfaces:
ComponentClassTransformWorker2
Identifies fields with the
Retain
annotation, and "claims" them so that no
special work will occur on them. Retain has been deprecated in Tapestry 5.2 and will likely be removed in the future.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
transform
(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Claims each field with theRetain
, claiming it using the annotation class (not the annotation instance, to avoid instantiating the annotation) as the tag.
-
Constructor Details
-
RetainWorker
public RetainWorker()
-
-
Method Details
-
transform
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Claims each field with theRetain
, claiming it using the annotation class (not the annotation instance, to avoid instantiating the annotation) as the tag.- Specified by:
transform
in interfaceComponentClassTransformWorker2
- Parameters:
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed
-