| org.apache.tapestry.services.InjectionProvider
All known Subclasses: org.apache.tapestry.internal.services.AssetInjectionProvider, org.apache.tapestry.internal.services.ComponentResourcesInjectionProvider, org.apache.tapestry.internal.services.CommonResourcesInjectionProvider,
provideInjection | boolean provideInjection(String fieldName, String fieldType, ObjectLocator locator, ClassTransformation transformation, MutableComponentModel componentModel)(Code) | | Peform the injection, if possible. Most often, this will result in a call to
ClassTransformation.injectField(StringObject) . The caller is responsible for
invoking
ClassTransformation.claimField(StringObject) .
Parameters: fieldName - the name of the field requesting injection Parameters: fieldType - the type of the field (as a string) Parameters: locator - allows services to be located Parameters: transformation - allows the code for the class to be transformed Parameters: componentModel - defines the relevant aspects of the component true if an injection has been made (terminates the command chain), false to continuedown the chain |
|
|