org.apache.tapestry.internal.transform
Class UnclaimedFieldWorker
java.lang.Object
org.apache.tapestry.internal.transform.UnclaimedFieldWorker
- All Implemented Interfaces:
- ComponentClassTransformWorker
public final class UnclaimedFieldWorker
- extends Object
- implements ComponentClassTransformWorker
Designed to be just about the last worker in the pipeline. Its job is to add cleanup code that restores transient
fields back to their initial (null) value. Fields that have been previously claimed are ignored, as are fields that
are final.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnclaimedFieldWorker
public UnclaimedFieldWorker()
transform
public void transform(ClassTransformation transformation,
MutableComponentModel model)
- Description copied from interface:
ComponentClassTransformWorker
- Invoked to perform a transformation on an as-yet unloaded component class, represented by the
ClassTransformation instance. In some cases, the worker may make changes to the component model -- for example,
a worker that deals with parameters may update the model to reflect those parameters.
- Specified by:
transform in interface ComponentClassTransformWorker
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.