public class CommonResourcesInjectionProvider extends Object implements InjectionProvider2
Constructor and Description |
---|
CommonResourcesInjectionProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
provideInjection(PlasticField field,
ObjectLocator locator,
MutableComponentModel componentModel)
Perform the injection, if possible.
|
public CommonResourcesInjectionProvider()
public boolean provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)
InjectionProvider2
PlasticField.inject(Object)
. The caller is responsible for invoking PlasticField.claim(Object)
.provideInjection
in interface InjectionProvider2
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.