| org.apache.tapestry.ioc.ServiceLifecycle
All known Subclasses: org.apache.tapestry.ioc.internal.SingletonServiceLifecycle, org.apache.tapestry.ioc.internal.services.PerThreadServiceLifecycle,
ServiceLifecycle | public interface ServiceLifecycle (Code) | | Allows certain types of lifecycles to control exactly how services are instantiated.
|
Method Summary | |
Object | createService(ServiceResources resources, ObjectCreator creator) Returns the same creator, or a new one, that encapsulates the creation of the core service
implementation.
Parameters: resources - source of information about the service to be created, and source of additionalservices or other resources that may be needed when constructing the core serviceimplementation Parameters: creator - object capable of creating the service implementation on demand. |
createService | Object createService(ServiceResources resources, ObjectCreator creator)(Code) | | Returns the same creator, or a new one, that encapsulates the creation of the core service
implementation.
Parameters: resources - source of information about the service to be created, and source of additionalservices or other resources that may be needed when constructing the core serviceimplementation Parameters: creator - object capable of creating the service implementation on demand. This is a wrapperaround the service's builder method. the service or equivalent service proxy |
|
|