Class InjectWorker
- java.lang.Object
-
- org.apache.tapestry5.internal.transform.InjectWorker
-
- All Implemented Interfaces:
ComponentClassTransformWorker2
public class InjectWorker extends Object implements ComponentClassTransformWorker2
Performs injection triggered by any field annotated with theInject
annotation or theInject
annotation. The implementation of this worker mostly delegates to a chain of command ofInjectionProvider2
.
-
-
Constructor Summary
Constructors Constructor Description InjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
Invoked to perform part of the transformation of thePlasticClass
.
-
-
-
Constructor Detail
-
InjectWorker
public InjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker)
-
-
Method Detail
-
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
-
-