public final class RetainWorker extends Object implements ComponentClassTransformWorker2
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 and Description |
---|
RetainWorker() |
Modifier and Type | Method and Description |
---|---|
void |
transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Claims each field with the
Retain , claiming it using the
annotation class (not the annotation instance, to avoid
instantiating the annotation) as the tag. |
public RetainWorker()
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
Retain
, claiming it using the
annotation class (not the annotation instance, to avoid
instantiating the annotation) as the tag.transform
in interface ComponentClassTransformWorker2
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.