@UsesOrderedConfiguration(value=InjectionProvider2.class) public interface InjectionProvider2
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.
This interface will be used as part of a chain of command
.Modifier and Type | Method and Description |
---|---|
boolean |
provideInjection(PlasticField field,
ObjectLocator locator,
MutableComponentModel componentModel)
Perform the injection, if possible.
|
boolean provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)
PlasticField.inject(Object)
. The caller is responsible for invoking PlasticField.claim(Object)
.field
- that has the Inject
annotationlocator
- allows services to be locatedcomponentModel
- defines the relevant aspects of the component5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.