Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.transform
Class RetainWorker

    java.lang.Object
      org.apache.tapestry5.internal.transform.RetainWorker

All Implemented Interfaces:
  ComponentClassTransformWorker2

    public final class RetainWorker

extends java.lang.Object
implements 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
`RetainWorker()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RetainWorker

    public RetainWorker()

Method Detail

### transform

    public 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.

  Specified by:
    `transform` in interface `ComponentClassTransformWorker2`
  Parameters:
    `plasticClass` - component class being transformed
    `support` - additional utilities needed during the transformation
    `model` - the model for the component being transformed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.