Class InjectWorker
java.lang.Object
org.apache.tapestry5.internal.transform.InjectWorker
- All Implemented Interfaces:
ComponentClassTransformWorker2
Performs injection triggered by any field annotated with the
Inject
annotation or the Inject annotation.
The implementation of this worker mostly delegates to a chain of command of InjectionProvider2.-
Constructor Summary
ConstructorsConstructorDescriptionInjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker) -
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Invoked to perform part of the transformation of thePlasticClass.
-
Constructor Details
-
InjectWorker
public InjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker)
-
-
Method Details
-
transform
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model) Description copied from interface:ComponentClassTransformWorker2Invoked to perform part of the transformation of thePlasticClass.- Specified by:
transformin interfaceComponentClassTransformWorker2- Parameters:
plasticClass- component class being transformedsupport- additional utilities needed during the transformationmodel- the model for the component being transformed
-