## Uses of Interface
org.apache.tapestry5.ioc.ObjectLocator

- Packages that use ObjectLocator
  Package | Description
  --- | ---
  org.apache.tapestry5.beaneditor | Support classes for the `BeanEditor` component.
  org.apache.tapestry5.internal.beaneditor | [INTERNAL USE ONLY] support classes for the `BeanEditor` component; API subject to change
  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.internal.test | [INTERNAL USE ONLY] testing support implementation classes; API subject to change
  org.apache.tapestry5.internal.transform | [INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
  org.apache.tapestry5.ioc | A code-centric, high-performance, simple Inversion of Control container
  org.apache.tapestry5.ioc.def | Tapestry IOC service definitions
  org.apache.tapestry5.ioc.internal | [INTERNAL USE ONLY] Tapestry IOC implementation details; 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.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
  org.apache.tapestry5.ioc.services | Tapestry IOC service interfaces
  org.apache.tapestry5.ioc.test | Classes supporting testing of Tapestry IOC services
  org.apache.tapestry5.jcache.internal |
  org.apache.tapestry5.jcache.module |
  org.apache.tapestry5.modules |
  org.apache.tapestry5.services.transform | Support for component class transformation.

- - ### Uses of ObjectLocator in org.apache.tapestry5.beaneditor

    Methods in org.apache.tapestry5.beaneditor with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `BeanModelSourceBuilder` | BeanModelSourceBuilder.`setObjectLocator(ObjectLocator objectLocator)` Sets the `ObjectLocator` to be used.

  - ### Uses of ObjectLocator in org.apache.tapestry5.internal.beaneditor

    Constructors in org.apache.tapestry5.internal.beaneditor with parameters of type ObjectLocator
    Constructor and Description
    `BeanModelImpl(Class<T> beanType, PropertyConduitSource propertyConduitSource, TypeCoercer typeCoercer, Messages messages, ObjectLocator locator)`

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

    Methods in org.apache.tapestry5.internal.jpa with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | EntityManagerObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`

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

    Methods in org.apache.tapestry5.internal.services with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | AssetObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)` Provides the asset.
    `<T> T` | ApplicationMessageCatalogObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `<T> T` | ServiceAnnotationObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `boolean` | CommonResourcesInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
    `boolean` | ServiceInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
    `boolean` | BlockInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
    `boolean` | AssetInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
    `boolean` | DefaultInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`

    Constructors in org.apache.tapestry5.internal.services with parameters of type ObjectLocator
    Constructor and Description
    `ApplicationMessageCatalogObjectProvider(ObjectLocator locator)`
    `ApplicationStateManagerImpl(Map<Class,ApplicationStateContribution> configuration, ApplicationStatePersistenceStrategySource source, ObjectLocator locator)`
    `BeanModelSourceImpl(TypeCoercer typeCoercer, PropertyAccess propertyAccess, PropertyConduitSource propertyConduitSource, PlasticProxyFactory proxyFactory, DataTypeAnalyzer dataTypeAnalyzer, ObjectLocator locator)`
    `DefaultInjectionProvider(MasterObjectProvider masterObjectProvider, ObjectLocator locator, ComponentClassCache classCache)`
    `ServiceInjectionProvider(ObjectLocator locator, ComponentClassCache classCache)`

  - ### Uses of ObjectLocator in org.apache.tapestry5.internal.test

    Methods in org.apache.tapestry5.internal.test with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `static void` | PageTesterModule.`setupTestableOverrides(MappedConfiguration<Class,Object> configuration, TestableRequest request, TestableResponse response, ObjectLocator locator)`

  - ### Uses of ObjectLocator in org.apache.tapestry5.internal.transform

    Methods in org.apache.tapestry5.internal.transform with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | InjectNamedProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`

    Constructors in org.apache.tapestry5.internal.transform with parameters of type ObjectLocator
    Constructor and Description
    `InjectNamedProvider(ObjectLocator locator, ComponentClassCache cache)`
    `InjectServiceWorker(ObjectLocator locator, ComponentClassCache cache)`
    `InjectWorker(ObjectLocator locator, InjectionProvider2 injectionProvider, OperationTracker tracker)`

  - ### Uses of ObjectLocator in org.apache.tapestry5.ioc

    Subinterfaces of ObjectLocator in org.apache.tapestry5.ioc
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Registry` Public access to the IoC service registry.
    `interface` | `ServiceBuilderResources` Extends `ServiceResources` with additional methods needed only by the service builder method, related to accessing a service's configuration.
    `interface` | `ServiceResources` Contains resources that may be provided to a service when it initializes, which includes other services defined in the registry.

    Methods in org.apache.tapestry5.ioc with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | ObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)` Provides an object based on an expression.

  - ### Uses of ObjectLocator in org.apache.tapestry5.ioc.def

    Methods in org.apache.tapestry5.ioc.def with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `void` | StartupDef.`invoke(ModuleBuilderSource moduleBuilderSource, OperationTracker tracker, ObjectLocator locator, org.slf4j.Logger logger)` Invoke the startup method, which includes computing any parameters to the method.

  - ### Uses of ObjectLocator in org.apache.tapestry5.ioc.internal

    Subinterfaces of ObjectLocator in org.apache.tapestry5.ioc.internal
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `InternalRegistry` Internal view of the module registry, adding additional methods needed by modules.

    Classes in org.apache.tapestry5.ioc.internal that implement ObjectLocator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectLocatorImpl` Base service locator class used when only the module is known (i.e., when instantiating a module class).
    `class` | `RegistryImpl`
    `class` | `RegistryWrapper` A wrapper around `InternalRegistry` that exists to expand symbols in a service id before invoking `getService(String, Class)`.
    `class` | `ServiceResourcesImpl` Implementation of `ServiceBuilderResources`.

    Methods in org.apache.tapestry5.ioc.internal with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | RegistryImpl.`getObject(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)`
    `<T> T` | InternalRegistry.`getObject(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)` As with `getObject(Class, org.apache.tapestry5.ioc.AnnotationProvider)`, but handles the `Local` annotation.
    `void` | StartupDefImpl.`invoke(ModuleBuilderSource moduleBuilderSource, OperationTracker tracker, ObjectLocator locator, org.slf4j.Logger logger)`
    `<T> T` | RegistryImpl.`proxy(Class<T> interfaceClass, Class<? extends T> implementationClass, ObjectLocator locator)`
    `<T> T` | InternalRegistry.`proxy(Class<T> interfaceClass, Class<? extends T> implementationClass, ObjectLocator locator)` Creates a just-in-time (and possibly, live reloading) proxy for the indicated class and interface, using the provided locator to autobuild the implementationClass (when necessary).

    Constructors in org.apache.tapestry5.ioc.internal with parameters of type ObjectLocator
    Constructor and Description
    `AbstractConfigurationImpl(Class<T> contributionType, ObjectLocator locator)`
    `ReloadableObjectCreator(PlasticProxyFactory proxyFactory, ClassLoader baseClassLoader, String implementationClassName, org.slf4j.Logger logger, OperationTracker tracker, ObjectLocator locator)`
    `TypeCoercerProxyImpl(ObjectLocator locator)`
    `ValidatingConfigurationWrapper(Class<T> expectedType, ObjectLocator locator, TypeCoercerProxy typeCoercer, Collection<T> collection, String serviceId)`
    `ValidatingMappedConfigurationWrapper(Class<V> expectedValueType, ObjectLocator locator, TypeCoercerProxy typeCoercer, Map<K,V> map, Map<K,MappedConfigurationOverride<K,V>> overrides, String serviceId, ContributionDef contributionDef, Class<K> expectedKeyType, Map<K,ContributionDef> keyToContributor)`
    `ValidatingOrderedConfigurationWrapper(Class<T> expectedType, ObjectLocator locator, TypeCoercerProxy typeCoercer, Orderer<T> orderer, Map<String,org.apache.tapestry5.ioc.internal.OrderedConfigurationOverride<T>> overrides, ContributionDef contribDef)`

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

    Methods in org.apache.tapestry5.ioc.internal.services with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | SymbolObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `<T> T` | AutobuildObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `<T> T` | ValueObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `<T> T` | StaticObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
    `<T> T` | MasterObjectProviderImpl.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, boolean required)`

  - ### Uses of ObjectLocator in org.apache.tapestry5.ioc.internal.util

    Methods in org.apache.tapestry5.ioc.internal.util with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `static ObjectCreator[]` | InternalUtils.`calculateParameters(ObjectLocator locator, InjectionResources resources, Class[] parameterTypes, Type[] genericTypes, Annotation[][] parameterAnnotations, OperationTracker tracker)`
    `static ObjectCreator[]` | InternalUtils.`calculateParametersForMethod(Method method, ObjectLocator locator, InjectionResources resources, OperationTracker tracker)`
    `static <T> ObjectCreator<T>` | InternalUtils.`createConstructorConstructionPlan(OperationTracker tracker, ObjectLocator locator, InjectionResources resources, org.slf4j.Logger logger, String description, Constructor<T> constructor)`
    `static <T> ObjectCreator<T>` | InternalUtils.`createMethodInvocationPlan(OperationTracker tracker, ObjectLocator locator, InjectionResources resources, org.slf4j.Logger logger, String description, Object instance, Method method)`
    `static void` | InternalUtils.`injectIntoFields(Object object, ObjectLocator locator, InjectionResources resources, OperationTracker tracker)` Injects into the fields (of all visibilities) when the `Inject` or `InjectService` annotations are present.

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

    Methods in org.apache.tapestry5.ioc.services with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | MasterObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, boolean required)` Provides an object based on an expression.

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

    Methods in org.apache.tapestry5.ioc.test that return ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `protected ObjectLocator` | IOCTestCase.`mockObjectLocator()` Deprecated.

    Methods in org.apache.tapestry5.ioc.test with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `protected <T> void` | IOCTestCase.`train_autobuild(ObjectLocator locator, Class<T> beanClass, T instance)` Deprecated.
    `protected <T> void` | IOCTestCase.`train_getService(ObjectLocator locator, Class<T> serviceInterface, T service)` Deprecated.
    `protected <T> void` | IOCTestCase.`train_getService(ObjectLocator locator, String serviceId, Class<T> serviceInterface, T service)` Deprecated.
    `protected <T> void` | IOCTestCase.`train_provide(ObjectProvider provider, Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object)` Deprecated.

  - ### Uses of ObjectLocator in org.apache.tapestry5.jcache.internal

    Constructors in org.apache.tapestry5.jcache.internal with parameters of type ObjectLocator
    Constructor and Description
    `CacheLookupUtil(ObjectLocator objectLocator, javax.cache.annotation.CacheKeyGenerator defaultCacheKeyGenerator, javax.cache.annotation.CacheResolverFactory defaultCacheResolverFactory)` Single constructor of this class.

  - ### Uses of ObjectLocator in org.apache.tapestry5.jcache.module

    Methods in org.apache.tapestry5.jcache.module with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `static void` | JCacheModule.`adviseCache(MethodAdviceReceiver receiver, ObjectLocator objectLocator)` Applies the advice to the services.

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

    Methods in org.apache.tapestry5.modules with parameters of type ObjectLocator
    Modifier and Type | Method and 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
    `static void` | TapestryModule.`contributeTypeCoercer(Configuration<CoercionTuple> configuration, ObjectLocator objectLocator, ThreadLocale threadLocale, AssetSource assetSource, DynamicTemplateParser dynamicTemplateParser)` Adds coercions: String to `SelectModel` Map to `SelectModel` Collection to `GridDataSource` null to `GridDataSource` List to `SelectModel` `ComponentResourcesAware` (typically, a component) to `ComponentResources` `ComponentResources` to `PropertyOverrides` String to `Renderable` `Renderable` to `Block` String to `DateFormat` String to `Resource` (via `AssetSource.resourceForPath(String)`) `Renderable` to `RenderCommand` String to `Pattern` String to `DateFormat` `Resource` to `DynamicTemplate` `Asset` to `Resource` `ValueEncoder` to `ValueEncoderFactory`

  - ### Uses of ObjectLocator in org.apache.tapestry5.services.transform

    Methods in org.apache.tapestry5.services.transform with parameters of type ObjectLocator
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | InjectionProvider2.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)` Perform the injection, if possible.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.