|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
InjectionProvider2
instead. Instances
of InjectProvider will be coerced to InjectionProvider2.
public interface InjectionProvider
Provides some form of injection when the value for an Inject
annotation is
present. In this case, the provider is responsible for determining the value to be injected from the field name and
field type.
chain of command
.
Method Summary | |
---|---|
boolean |
provideInjection(String fieldName,
Class fieldType,
ObjectLocator locator,
ClassTransformation transformation,
MutableComponentModel componentModel)
Deprecated. Perform the injection, if possible. |
Method Detail |
---|
boolean provideInjection(String fieldName, Class fieldType, ObjectLocator locator, ClassTransformation transformation, MutableComponentModel componentModel)
TransformField.inject(Object)
. The caller is responsible for claiming the field.
fieldName
- the name of the field requesting injectionfieldType
- the type of the fieldlocator
- allows services to be locatedtransformation
- allows the code for the class to be transformedcomponentModel
- defines the relevant aspects of the component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |