Class InjectComponentWorker
java.lang.Object
org.apache.tapestry5.internal.transform.InjectComponentWorker
- All Implemented Interfaces:
ComponentClassTransformWorker2
Recognizes the
InjectComponent
annotation, and converts the field into a
read-only field containing the component. The id of the component may be explicitly stated or will be determined
from the field name.-
Constructor Summary
ConstructorsConstructorDescriptionInjectComponentWorker
(ComponentClassCache classCache, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
transform
(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Invoked to perform part of the transformation of thePlasticClass
.
-
Constructor Details
-
InjectComponentWorker
-
-
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
-