Class LifecycleWrappedServiceCreator
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator
-
- All Implemented Interfaces:
ObjectCreator
public class LifecycleWrappedServiceCreator extends java.lang.Object implements ObjectCreator
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).
-
-
Constructor Summary
Constructors Constructor Description LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createObject()
Passes the resources and the service creator through theServiceLifecycle
.
-
-
-
Constructor Detail
-
LifecycleWrappedServiceCreator
public LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)
-
-
Method Detail
-
createObject
public java.lang.Object createObject()
Passes the resources and the service creator through theServiceLifecycle
.- Specified by:
createObject
in interfaceObjectCreator
-
-