Uses of Interface
org.apache.tapestry5.commons.ObjectCreator
Packages that use ObjectCreator
Package
Description
[INTERNAL USE ONLY] support classes for the Spring IOC; API subject to change
A code-centric, high-performance, simple Inversion of Control container
Tapestry IOC service definitions
[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
[INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
[INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
Tapestry IOC service interfaces
-
Uses of ObjectCreator in org.apache.tapestry5.beanmodel.services
Methods in org.apache.tapestry5.beanmodel.services with parameters of type ObjectCreatorModifier and TypeMethodDescription<T> T
PlasticProxyFactoryImpl.createProxy
(Class<T> interfaceType, Class<? extends T> implementationType, ObjectCreator<T> creator, String description) <T> T
PlasticProxyFactoryImpl.createProxy
(Class<T> interfaceType, ObjectCreator<T> creator, String description) PlasticProxyFactoryImpl.getMemberLocation
(Member member, String methodName, String memberTypeDesc, ObjectCreator<String> textDescriptionCreator) -
Uses of ObjectCreator in org.apache.tapestry5.commons.services
Methods in org.apache.tapestry5.commons.services with parameters of type ObjectCreatorModifier and TypeMethodDescription<T> T
PlasticProxyFactory.createProxy
(Class<T> interfaceType, Class<? extends T> implementationType, ObjectCreator<T> creator, String description) Creates a proxy instance that delegates all methods through a corresponding ObjectCreator.<T> T
PlasticProxyFactory.createProxy
(Class<T> interfaceType, ObjectCreator<T> creator, String description) Creates a proxy instance that delegates all methods through a corresponding ObjectCreator. -
Uses of ObjectCreator in org.apache.tapestry5.internal.spring
Classes in org.apache.tapestry5.internal.spring that implement ObjectCreatorModifier and TypeClassDescriptionclass
AnObjectCreator
for a statically identified object (typically, a bean from the Spring application context).Methods in org.apache.tapestry5.internal.spring that return ObjectCreatorModifier and TypeMethodDescriptionSpringBeanServiceDef.createServiceCreator
(ServiceBuilderResources resources) -
Uses of ObjectCreator in org.apache.tapestry5.ioc
Methods in org.apache.tapestry5.ioc with parameters of type ObjectCreatorModifier and TypeMethodDescriptionServiceLifecycle.createService
(ServiceResources resources, ObjectCreator creator) Returns the same creator, or a new one, that encapsulates the creation of the core service implementation. -
Uses of ObjectCreator in org.apache.tapestry5.ioc.def
Methods in org.apache.tapestry5.ioc.def that return ObjectCreatorModifier and TypeMethodDescriptionServiceDef.createServiceCreator
(ServiceBuilderResources resources) Returns anObjectCreator
that can create the core service implementation. -
Uses of ObjectCreator in org.apache.tapestry5.ioc.internal
Classes in org.apache.tapestry5.ioc.internal that implement ObjectCreatorModifier and TypeClassDescriptionclass
class
Abstract implementation ofObjectCreator
geared towards the creation of the core service implementation, either by invoking a service builder method on a module, or by invoking a constructor.class
Equivalent ofInterceptorStackBuilder
, but works using anAspectInterceptorBuilder
that receives advice fromServiceAdvisor
s.class
A service creator based on an implementation class' constructor, rather than a service builder method.class
Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (DecoratorDef
(which are converted intoServiceDecorator
s).class
Wrapper around a lifecycle, a set of resources for a service, and an underlyingObjectCreator
for a service that allows the service lifecycle to alter the way that the service is created (this is needed for the more advanced, non-singleton types of service lifecycles).class
Makes sure the operations tracker is notified knows that a service is being realized.class
Decorator forObjectCreator
that ensures the service is only created once.class
Reloadable object creator for non-service objects.class
Returns anObjectCreator
for lazily instantiating a given implementation class (with dependencies).class
Basic implementation ofObjectCreator
that handles invoking a method on the module builder, and figures out the correct parameters to pass into the annotated method.Methods in org.apache.tapestry5.ioc.internal that return ObjectCreatorModifier and TypeMethodDescriptionObjectCreatorSource.constructCreator
(ServiceBuilderResources resources) Provides an ObjectCreator that can be used to ultimately instantiate the core service implementation.ReloadableObjectCreatorSource.constructCreator
(ServiceBuilderResources resources) ServiceDefImpl.createServiceCreator
(ServiceBuilderResources resources) Methods in org.apache.tapestry5.ioc.internal with parameters of type ObjectCreatorModifier and TypeMethodDescriptionSingletonServiceLifecycle.createService
(ServiceResources resources, ObjectCreator creator) Constructors in org.apache.tapestry5.ioc.internal with parameters of type ObjectCreatorModifierConstructorDescriptionAdvisorStackBuilder
(ServiceDef3 serviceDef, ObjectCreator delegate, AspectDecorator aspectDecorator, InternalRegistry registry) InterceptorStackBuilder
(ServiceDef3 serviceDef, ObjectCreator delegate, InternalRegistry registry) LifecycleWrappedServiceCreator
(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator) OperationTrackingObjectCreator
(OperationTracker tracker, String message, ObjectCreator delegate) RecursiveServiceCreationCheckWrapper
(ServiceDef serviceDef, ObjectCreator delegate, org.slf4j.Logger logger) -
Uses of ObjectCreator in org.apache.tapestry5.ioc.internal.services
Classes in org.apache.tapestry5.ioc.internal.services that implement ObjectCreatorModifier and TypeClassDescriptionclass
AnObjectCreator
that delegates to anotherObjectCreator
and caches the result.class
Invoked from a fabricated service delegate to get or realize (instantiate and configure) the service implementation.Methods in org.apache.tapestry5.ioc.internal.services that return ObjectCreatorModifier and TypeMethodDescription<T> ObjectCreator<T>
PerthreadManagerImpl.createValue
(ObjectCreator<T> delegate) Methods in org.apache.tapestry5.ioc.internal.services with parameters of type ObjectCreatorModifier and TypeMethodDescriptionPerThreadServiceLifecycle.createService
(ServiceResources resources, ObjectCreator creator) <T> T
ThunkCreatorImpl.createThunk
(Class<T> proxyType, ObjectCreator objectCreator, String description) <T> ObjectCreator<T>
PerthreadManagerImpl.createValue
(ObjectCreator<T> delegate) Constructors in org.apache.tapestry5.ioc.internal.services with parameters of type ObjectCreatorModifierConstructorDescriptionCachingObjectCreator
(ObjectCreator<T> delegate) JustInTimeObjectCreator
(ServiceActivityTracker tracker, ObjectCreator<T> creator, String serviceId) -
Uses of ObjectCreator in org.apache.tapestry5.ioc.internal.util
Classes in org.apache.tapestry5.ioc.internal.util that implement ObjectCreatorModifier and TypeClassDescriptionclass
Encapsulates the initial construction of an object instance, followed by a seriesInitializationPlan
s to initialize fields and invoke other methods of the constructed object.Fields in org.apache.tapestry5.ioc.internal.util with type parameters of type ObjectCreatorModifier and TypeFieldDescriptionstatic final Mapper<ObjectCreator,
Object> InternalUtils.CREATE_OBJECT
Methods in org.apache.tapestry5.ioc.internal.util that return ObjectCreatorModifier and TypeMethodDescriptionstatic 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) Methods in org.apache.tapestry5.ioc.internal.util with parameters of type ObjectCreatorModifier and TypeMethodDescriptionstatic Object[]
InternalUtils.realizeObjects
(ObjectCreator[] creators) Constructors in org.apache.tapestry5.ioc.internal.util with parameters of type ObjectCreatorModifierConstructorDescriptionConstructorInvoker
(Constructor constructor, ObjectCreator[] constructorParameters) MethodInvoker
(Object instance, Method method, ObjectCreator[] methodParameters) -
Uses of ObjectCreator in org.apache.tapestry5.ioc.services
Methods in org.apache.tapestry5.ioc.services that return ObjectCreatorModifier and TypeMethodDescription<T> ObjectCreator<T>
PerthreadManager.createValue
(ObjectCreator<T> delegate) ReturnObjectCreator
, which for each thread, the first call will use the delegateObjectCreator
to create an instance, and later calls will reuse the same per-thread instance.Methods in org.apache.tapestry5.ioc.services with parameters of type ObjectCreatorModifier and TypeMethodDescription<T> T
ThunkCreator.createThunk
(Class<T> proxyType, ObjectCreator objectCreator, String description) Creates a Thunk of the given proxy type.<T> ObjectCreator<T>
PerthreadManager.createValue
(ObjectCreator<T> delegate) ReturnObjectCreator
, which for each thread, the first call will use the delegateObjectCreator
to create an instance, and later calls will reuse the same per-thread instance. -
Uses of ObjectCreator in org.apache.tapestry5.ioc.test
Methods in org.apache.tapestry5.ioc.test that return ObjectCreatorModifier and TypeMethodDescriptionprotected final ObjectCreator
IOCTestCase.mockObjectCreator()
Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type ObjectCreatorModifier and TypeMethodDescriptionprotected final void
IOCTestCase.train_createObject
(ObjectCreator creator, Object service) Deprecated.