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

Packages that use ObjectLocator
Package
Description
org.apache.tapestry5.beanmodel
Support classes for the `BeanEditor` component.
org.apache.tapestry5.beanmodel.internal.beanmodel
org.apache.tapestry5.beanmodel.internal.services
org.apache.tapestry5.commons
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
org.apache.tapestry5.jcache.internal
org.apache.tapestry5.jcache.module
org.apache.tapestry5.modules
org.apache.tapestry5.services.transform
Support for component class transformation.
org.apache.tapestry5.spock

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

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

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

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

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

  Constructors in org.apache.tapestry5.beanmodel.internal.services with parameters of type ObjectLocator
  Modifier
  Constructor
  Description
  ``
  `BeanModelSourceImpl(TypeCoercer typeCoercer, PropertyAccess propertyAccess, PropertyConduitSource propertyConduitSource, PlasticProxyFactory proxyFactory, DataTypeAnalyzer dataTypeAnalyzer, ObjectLocator locator)`

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

  Methods in org.apache.tapestry5.commons with parameters of type ObjectLocator
  Modifier and Type
  Method
  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.internal.jpa

  Methods in org.apache.tapestry5.internal.jpa with parameters of type ObjectLocator
  Modifier and Type
  Method
  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
  Description
  `<T> T`
  ApplicationMessageCatalogObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  `<T> T`
  AssetObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  Provides the asset.
  `<T> T`
  ServiceAnnotationObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  `boolean`
  AssetInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  `boolean`
  BlockInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  `boolean`
  CommonResourcesInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  `boolean`
  DefaultInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  `boolean`
  ServiceInjectionProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  Constructors in org.apache.tapestry5.internal.services with parameters of type ObjectLocator
  Modifier
  Constructor
  Description
  ``
  `ApplicationMessageCatalogObjectProvider(ObjectLocator locator)`
  ``
  `ApplicationStateManagerImpl(Map<Class,ApplicationStateContribution> configuration, ApplicationStatePersistenceStrategySource source, 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
  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
  Description
  `boolean`
  InjectNamedProvider.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  Constructors in org.apache.tapestry5.internal.transform with parameters of type ObjectLocator
  Modifier
  Constructor
  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
  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.

- ## 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
  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
  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
  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
  Description
  `<T> T`
  InternalRegistry.`getObject(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)`
  As with `getObject(Class, org.apache.tapestry5.commons.AnnotationProvider)`, but handles the `Local` annotation.
  `<T> T`
  RegistryImpl.`getObject(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, Module localModule)`
  `void`
  StartupDefImpl.`invoke(ModuleBuilderSource moduleBuilderSource, OperationTracker tracker, ObjectLocator locator, org.slf4j.Logger logger)`
  `<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).
  `<T> T`
  RegistryImpl.`proxy(Class<T> interfaceClass, Class<? extends T> implementationClass, ObjectLocator locator)`
  Constructors in org.apache.tapestry5.ioc.internal with parameters of type ObjectLocator
  Modifier
  Constructor
  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
  Description
  `<T> T`
  AutobuildObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  `<T> T`
  MasterObjectProviderImpl.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, boolean required)`
  `<T> T`
  StaticObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  `<T> T`
  SymbolObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`
  `<T> T`
  ValueObjectProvider.`provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)`

- ## 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
  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
  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
  Description
  `protected final ObjectLocator`
  IOCTestCase.`mockObjectLocator()`
  Deprecated.
  Methods in org.apache.tapestry5.ioc.test with parameters of type ObjectLocator
  Modifier and Type
  Method
  Description
  `protected final <T> void`
  IOCTestCase.`train_autobuild(ObjectLocator locator, Class<T> beanClass, T instance)`
  Deprecated.
  `protected final <T> void`
  IOCTestCase.`train_getService(ObjectLocator locator, Class<T> serviceInterface, T service)`
  Deprecated.
  `protected final <T> void`
  IOCTestCase.`train_getService(ObjectLocator locator, String serviceId, Class<T> serviceInterface, T service)`
  Deprecated.
  `protected final <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
  Modifier
  Constructor
  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
  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
  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(MappedConfiguration<CoercionTuple.Key,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
  Description
  `boolean`
  InjectionProvider2.`provideInjection(PlasticField field, ObjectLocator locator, MutableComponentModel componentModel)`
  Perform the injection, if possible.

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

  Methods in org.apache.tapestry5.spock that return ObjectLocator
  Modifier and Type
  Method
  Description
  `static ObjectLocator`
  ExtensionModule.`build(ObjectLocator locator)`
  Methods in org.apache.tapestry5.spock with parameters of type ObjectLocator
  Modifier and Type
  Method
  Description
  `static ObjectLocator`
  ExtensionModule.`build(ObjectLocator locator)`