Class CachedWorker
java.lang.Object
org.apache.tapestry5.internal.transform.CachedWorker
- All Implemented Interfaces:
ComponentClassTransformWorker2
Caches method return values for methods annotated with
Cached
.-
Constructor Summary
ConstructorsConstructorDescriptionCachedWorker
(BindingSource bindingSource, PerthreadManager perthreadManager, PropertyValueProviderWorker propertyValueProviderWorker, boolean productionMode, boolean multipleClassloaders) -
Method Summary
Modifier and TypeMethodDescriptionvoid
transform
(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Invoked to perform part of the transformation of thePlasticClass
.
-
Constructor Details
-
CachedWorker
public CachedWorker(BindingSource bindingSource, PerthreadManager perthreadManager, PropertyValueProviderWorker propertyValueProviderWorker, @Inject @Symbol("tapestry.production-mode") boolean productionMode, @Inject @Symbol("tapestry.multiple-classloaders") boolean multipleClassloaders)
-
-
Method Details
-
transform
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Description copied from interface:ComponentClassTransformWorker2
Invoked to perform part of the transformation of thePlasticClass
.- Specified by:
transform
in interfaceComponentClassTransformWorker2
- Parameters:
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed
-