Package | Description |
---|---|
org.apache.tapestry5.internal.spring |
[INTERNAL USE ONLY] support classes for the Spring IOC; 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
|
Modifier and Type | Class and Description |
---|---|
class |
StaticObjectCreator
An
ObjectCreator for a statically identified object (typically, a bean from the
Spring application context). |
Modifier and Type | Method and Description |
---|---|
ObjectCreator |
SpringBeanServiceDef.createServiceCreator(ServiceBuilderResources resources) |
Modifier and Type | Method and Description |
---|---|
Object |
ServiceLifecycle.createService(ServiceResources resources,
ObjectCreator creator)
Returns the same creator, or a new one, that encapsulates the creation of the core service implementation.
|
Modifier and Type | Method and Description |
---|---|
ObjectCreator |
ServiceDef.createServiceCreator(ServiceBuilderResources resources)
Returns an
ObjectCreator that can create the core service implementation. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractReloadableObjectCreator |
class |
AbstractServiceCreator
Abstract implementation of
ObjectCreator 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 |
AdvisorStackBuilder
Equivalent of
InterceptorStackBuilder , but works using an
AspectInterceptorBuilder that receives advice from
ServiceAdvisor s. |
class |
ConstructorServiceCreator
A service creator based on an implementation class' constructor, rather than a service builder method.
|
class |
InterceptorStackBuilder
Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (
DecoratorDef (which are converted into ServiceDecorator s). |
class |
LifecycleWrappedServiceCreator
Wrapper around a lifecycle, a set of resources for a service, and an underlying
ObjectCreator 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 |
OperationTrackingObjectCreator
Makes sure the operations tracker is notified knows that a service is being realized.
|
class |
RecursiveServiceCreationCheckWrapper
Decorator for
ObjectCreator that ensures the service is only created once. |
class |
ReloadableObjectCreator
Reloadable object creator for non-service objects.
|
class |
ReloadableServiceImplementationObjectCreator
Returns an
ObjectCreator for lazily instantiating a given implementation class (with dependencies). |
class |
ServiceBuilderMethodInvoker
Basic implementation of
ObjectCreator that handles invoking a method on the module
builder, and figures out the correct parameters to pass into the annotated method. |
Modifier and Type | Method and Description |
---|---|
ObjectCreator |
ReloadableObjectCreatorSource.constructCreator(ServiceBuilderResources resources) |
ObjectCreator |
ObjectCreatorSource.constructCreator(ServiceBuilderResources resources)
Provides an ObjectCreator that can be used to ultimately instantiate the core service implementation.
|
ObjectCreator |
ServiceDefImpl.createServiceCreator(ServiceBuilderResources resources) |
Modifier and Type | Method and Description |
---|---|
Object |
SingletonServiceLifecycle.createService(ServiceResources resources,
ObjectCreator creator) |
Constructor and Description |
---|
AdvisorStackBuilder(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) |
Modifier and Type | Class and Description |
---|---|
class |
CachingObjectCreator<T>
An
ObjectCreator that delegates to another
ObjectCreator and caches the result. |
class |
JustInTimeObjectCreator<T>
Invoked from a fabricated service delegate to get or realize (instantiate and configure) the service implementation.
|
Modifier and Type | Method and Description |
---|---|
<T> ObjectCreator<T> |
PerthreadManagerImpl.createValue(ObjectCreator<T> delegate) |
Modifier and Type | Method and Description |
---|---|
<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) |
Object |
PerThreadServiceLifecycle.createService(ServiceResources resources,
ObjectCreator creator) |
<T> T |
ThunkCreatorImpl.createThunk(Class<T> proxyType,
ObjectCreator objectCreator,
String description) |
<T> ObjectCreator<T> |
PerthreadManagerImpl.createValue(ObjectCreator<T> delegate) |
Location |
PlasticProxyFactoryImpl.getMemberLocation(Member member,
String methodName,
String memberTypeDesc,
ObjectCreator<String> textDescriptionCreator) |
Constructor and Description |
---|
CachingObjectCreator(ObjectCreator<T> delegate) |
JustInTimeObjectCreator(ServiceActivityTracker tracker,
ObjectCreator<T> creator,
String serviceId) |
Modifier and Type | Class and Description |
---|---|
class |
ConstructionPlan<T>
Encapsulates the initial construction of an object instance, followed by a series
InitializationPlan s to initialize fields and invoke other methods of the constructed object. |
Modifier and Type | Field and Description |
---|---|
static Mapper<ObjectCreator,Object> |
InternalUtils.CREATE_OBJECT |
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) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
InternalUtils.realizeObjects(ObjectCreator[] creators) |
Constructor and Description |
---|
ConstructorInvoker(Constructor constructor,
ObjectCreator[] constructorParameters) |
MethodInvoker(Object instance,
Method method,
ObjectCreator[] methodParameters) |
Modifier and Type | Method and Description |
---|---|
<T> ObjectCreator<T> |
PerthreadManager.createValue(ObjectCreator<T> delegate)
Return
ObjectCreator , which for each thread,
the first call will use the delegate ObjectCreator to create
an instance, and later calls will reuse the same per-thread instance. |
Modifier and Type | Method and Description |
---|---|
<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.
|
<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)
Return
ObjectCreator , which for each thread,
the first call will use the delegate ObjectCreator to create
an instance, and later calls will reuse the same per-thread instance. |
Modifier and Type | Method and Description |
---|---|
protected ObjectCreator |
IOCTestCase.mockObjectCreator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IOCTestCase.train_createObject(ObjectCreator creator,
Object service)
Deprecated.
|
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.