Uses of Interface
org.apache.tapestry5.commons.ObjectLocator
-
Packages that use ObjectLocator Package Description org.apache.tapestry5.beanmodel Support classes for theBeanEditor
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 changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.test [INTERNAL USE ONLY] testing support implementation classes; API subject to changeorg.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 containerorg.apache.tapestry5.ioc.def Tapestry IOC service definitionsorg.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 changeorg.apache.tapestry5.ioc.services Tapestry IOC service interfacesorg.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. -
-
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 theObjectLocator
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 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 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 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 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
ExtendsServiceResources
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 aroundInternalRegistry
that exists to expand symbols in a service id before invokinggetService(String, Class)
.class
ServiceResourcesImpl
Implementation ofServiceBuilderResources
.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 withgetObject(Class, org.apache.tapestry5.commons.AnnotationProvider)
, but handles theLocal
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 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 theInject
orInjectService
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 ObjectLocator
IOCTestCase. mockObjectLocator()
Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type ObjectLocator Modifier and Type Method 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 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
-
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.
-