# Uses of Interface
org.apache.tapestry5.commons.ObjectProvider

Packages that use ObjectProvider
Package
Description
org.apache.tapestry5.internal.jpa
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.ioc.internal.services
[INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
org.apache.tapestry5.ioc.modules
org.apache.tapestry5.ioc.services
Tapestry IOC service interfaces
org.apache.tapestry5.ioc.test
org.apache.tapestry5.jpa.modules
org.apache.tapestry5.modules

- ## Uses of ObjectProvider in org.apache.tapestry5.internal.jpa

  Classes in org.apache.tapestry5.internal.jpa that implement ObjectProvider
  Modifier and Type
  Class
  Description
  `class`
  `EntityManagerObjectProvider`

- ## Uses of ObjectProvider in org.apache.tapestry5.internal.services

  Classes in org.apache.tapestry5.internal.services that implement ObjectProvider
  Modifier and Type
  Class
  Description
  `class`
  `ApplicationMessageCatalogObjectProvider`
  Allows for injection of the global application message catalog into services.
  `class`
  `AssetObjectProvider`
  Exposes assets (in the current locale).
  `class`
  `ServiceAnnotationObjectProvider`
  Adds support for the `Service` annotation (which can be applied to fields or parameters), which is used to disambiguate injection when multiple services implement the same service interface.

- ## Uses of ObjectProvider in org.apache.tapestry5.ioc.internal.services

  Classes in org.apache.tapestry5.ioc.internal.services that implement ObjectProvider
  Modifier and Type
  Class
  Description
  `class`
  `AutobuildObjectProvider`
  Checks for the `Autobuild` annotation and, if so invokes `ObjectLocator.autobuild(Class)` on it.
  `class`
  `StaticObjectProvider<S>`
  Provides a single object of a given type.
  `class`
  `SymbolObjectProvider`
  Performs an injection based on a `Symbol` annotation.
  `class`
  `ValueObjectProvider`
  Provides an object when the `Value` annotation is present.
  Methods in org.apache.tapestry5.ioc.internal.services that return ObjectProvider
  Modifier and Type
  Method
  Description
  `ObjectProvider`
  ServiceOverrideImpl.`getServiceOverrideProvider()`
  Constructor parameters in org.apache.tapestry5.ioc.internal.services with type arguments of type ObjectProvider
  Modifier
  Constructor
  Description
  ``
  `MasterObjectProviderImpl(List<ObjectProvider> configuration, OperationTracker tracker)`

- ## Uses of ObjectProvider in org.apache.tapestry5.ioc.modules

  Method parameters in org.apache.tapestry5.ioc.modules with type arguments of type ObjectProvider
  Modifier and Type
  Method
  Description
  `static void`
  TapestryIOCModule.`setupObjectProviders(OrderedConfiguration<ObjectProvider> configuration, ServiceOverride serviceOverride)`
  AnnotationBasedContributions Empty placeholder used to separate annotation-based ObjectProvider contributions (which come before) from non-annotation based (such as ServiceOverride) which come after. Value Supports the `Value` annotation Symbol Supports the `Symbol` annotations Autobuild Supports the `Autobuild` annotation ServiceOverride Allows simple service overrides via the `ServiceOverride` service (and its configuration)

- ## Uses of ObjectProvider in org.apache.tapestry5.ioc.services

  Methods in org.apache.tapestry5.ioc.services that return ObjectProvider
  Modifier and Type
  Method
  Description
  `ObjectProvider`
  ServiceOverride.`getServiceOverrideProvider()`
  Returns a provider based on the configuration; this is wired into the `MasterObjectProvider`'s configuration.

- ## Uses of ObjectProvider in org.apache.tapestry5.ioc.test

  Methods in org.apache.tapestry5.ioc.test that return ObjectProvider
  Modifier and Type
  Method
  Description
  `protected final ObjectProvider`
  IOCTestCase.`mockObjectProvider()`
  Deprecated.
  Methods in org.apache.tapestry5.ioc.test with parameters of type ObjectProvider
  Modifier and Type
  Method
  Description
  `protected final <T> void`
  IOCTestCase.`train_provide(ObjectProvider provider, Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object)`
  Deprecated.

- ## Uses of ObjectProvider in org.apache.tapestry5.jpa.modules

  Method parameters in org.apache.tapestry5.jpa.modules with type arguments of type ObjectProvider
  Modifier and Type
  Method
  Description
  `static void`
  JpaModule.`provideObjectProviders(OrderedConfiguration<ObjectProvider> configuration)`

- ## Uses of ObjectProvider in org.apache.tapestry5.modules

  Methods in org.apache.tapestry5.modules with parameters of type ObjectProvider
  Modifier and Type
  Method
  Description
  `static void`
  TapestryModule.`contributeMasterObjectProvider(OrderedConfiguration<ObjectProvider> configuration, ObjectProvider assetObjectProvider, ObjectLocator locator)`
  Contributes two object providers: Asset Checks for the `Path` annotation, and injects an `Asset` Service Injects based on the `Service` annotation, if present ApplicationMessages Injects the global application messages
  Method parameters in org.apache.tapestry5.modules with type arguments of type ObjectProvider
  Modifier and Type
  Method
  Description
  `static void`
  TapestryModule.`contributeMasterObjectProvider(OrderedConfiguration<ObjectProvider> configuration, ObjectProvider assetObjectProvider, ObjectLocator locator)`
  Contributes two object providers: Asset Checks for the `Path` annotation, and injects an `Asset` Service Injects based on the `Service` annotation, if present ApplicationMessages Injects the global application messages