|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.DefaultInjectionProvider
public class DefaultInjectionProvider
Worker for the Inject annotation that delegates out to the master
MasterObjectProvider to access the value. This worker must be scheduled
after certain other workers, such as BlockInjectionProvider (which is keyed off a combination of type and
the Inject annotation).
MasterObjectProvider| Constructor Summary | |
|---|---|
DefaultInjectionProvider(MasterObjectProvider masterObjectProvider,
ObjectLocator locator,
ComponentClassCache classCache)
|
|
| Method Summary | |
|---|---|
boolean |
provideInjection(PlasticField field,
ObjectLocator locator,
MutableComponentModel componentModel)
Perform the injection, if possible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultInjectionProvider(MasterObjectProvider masterObjectProvider,
ObjectLocator locator,
ComponentClassCache classCache)
| Method Detail |
|---|
public boolean provideInjection(PlasticField field,
ObjectLocator locator,
MutableComponentModel componentModel)
InjectionProvider2PlasticField.inject(Object). The caller is responsible for invoking PlasticField.claim(Object).
provideInjection in interface InjectionProvider2field - that has the Inject annotationlocator - allows services to be locatedcomponentModel - defines the relevant aspects of the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||