org.apache.tapestry.internal.transform
Class InjectWorker
java.lang.Object
org.apache.tapestry.internal.transform.InjectWorker
- All Implemented Interfaces:
- ComponentClassTransformWorker
public class InjectWorker
- extends Object
- implements ComponentClassTransformWorker
Performs injection triggered by any field annotated with the Inject
annotation.
The implementation of this worker mostly delegates to a chain of command of InjectionProviders.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectWorker
public InjectWorker(ObjectLocator locator,
InjectionProvider injectionProvider)
transform
public final 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.