Uses of Interface
org.apache.tapestry.services.InjectionProvider

Packages that use InjectionProvider
org.apache.tapestry.internal.services   
org.apache.tapestry.internal.transform   
org.apache.tapestry.services   
org.apache.tapestry.test   
 

Uses of InjectionProvider in org.apache.tapestry.internal.services
 

Classes in org.apache.tapestry.internal.services that implement InjectionProvider
 class AssetInjectionProvider
          Performs injection of assets, based on the presence of the Path annotation.
 class BlockInjectionProvider
          Identifies fields of type Block that have the Inject annotation and converts them into read-only fields containing the injected Block from the template.
 class CommonResourcesInjectionProvider
          Allows for a number of anonymous injections based on the type of field that is to be injected.
 class ComponentResourcesInjectionProvider
          Allows for the injection of the component's ComponentResources.
 class DefaultInjectionProvider
          Worker for the Inject annotation that delegates out to the master MasterObjectProvider to access the value.
 class ServiceInjectionProvider
          A very late worker related to the Inject annotation that, when all other forms of injection have failed, matches the field type to a service interface.
 

Uses of InjectionProvider in org.apache.tapestry.internal.transform
 

Constructors in org.apache.tapestry.internal.transform with parameters of type InjectionProvider
InjectWorker(ObjectLocator locator, InjectionProvider injectionProvider)
           
 

Uses of InjectionProvider in org.apache.tapestry.services
 

Methods in org.apache.tapestry.services that return InjectionProvider
 InjectionProvider TapestryModule.build(List<InjectionProvider> configuration)
          A chain of command for providing values for Inject-ed fields in component classes.
 

Methods in org.apache.tapestry.services with parameters of type InjectionProvider
static void TapestryModule.contributeComponentClassTransformWorker(OrderedConfiguration<ComponentClassTransformWorker> configuration, ObjectLocator locator, InjectionProvider injectionProvider, Environment environment, ComponentClassResolver resolver, RequestPageCache requestPageCache, BindingSource bindingsource)
          Adds a number of standard component class transform workers: Retain Allows fields to retain their values between requests Persist Allows fields to store their their value persistently between requests Parameter Identifies parameters based on the Parameter annotation Component Defines embedded components based on the Component annotation Mixin Adds a mixin as part of a component's implementation Environment Allows fields to contain values extracted from the Environment service Inject Used with the Inject annotation, when a value is supplied InjectPage Adds code to allow access to other pages via the InjectPage field annotation InjectBlock Allows a block from the template to be injected into a field IncludeStylesheet Supports the IncludeStylesheet annotation IncludeJavaScriptLibrary Supports the IncludeJavaScriptLibrary annotation SupportsInformalParameters Checks for the annotation Meta Checks for meta data and adds it to the component model ApplicationState Converts fields that reference application state objects UnclaimedField Identifies unclaimed fields and resets them to null/0/false at the end of the request RenderCommand Ensures all components also implement RenderCommand SetupRender, BeginRender, etc.
 

Method parameters in org.apache.tapestry.services with type arguments of type InjectionProvider
 InjectionProvider TapestryModule.build(List<InjectionProvider> configuration)
          A chain of command for providing values for Inject-ed fields in component classes.
static void TapestryModule.contributeInjectionProvider(OrderedConfiguration<InjectionProvider> configuration, MasterObjectProvider masterObjectProvider, ObjectLocator locator, SymbolSource symbolSource, AssetSource assetSource)
          Contributes the base set of injection providers: Default based on MasterObjectProvider Block injects fields of type Block ComponentResources give component access to its resources CommonResources access to properties of resources (log, messages, etc.) Asset injection of assets (triggered via Path annotation), with the path relative to the component class Service ordered last, for use when Inject is present and nothing else works, matches field type against Tapestry IoC services
 

Uses of InjectionProvider in org.apache.tapestry.test
 

Methods in org.apache.tapestry.test with parameters of type InjectionProvider
protected  void TapestryTestCase.train_provideInjection(InjectionProvider provider, String fieldName, Class fieldType, ObjectLocator locator, ClassTransformation transformation, MutableComponentModel model, boolean result)
           
 



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.