|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.AssetInjectionProvider
public class AssetInjectionProvider
Performs injection of assets, based on the presence of the Path
annotation. This is more
useful than the
general AssetObjectProvider
, because relative assets are supported.
Constructor Summary | |
---|---|
AssetInjectionProvider(SymbolSource symbolSource,
AssetSource assetSource)
|
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 AssetInjectionProvider(SymbolSource symbolSource, AssetSource assetSource)
Method Detail |
---|
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 component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |