Package org.apache.tapestry5.ioc.internal

# Class LifecycleWrappedServiceCreator

java.lang.Object
org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator

All Implemented Interfaces:
  `ObjectCreator`

public class LifecycleWrappedServiceCreator extends Object implements ObjectCreator
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).

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `createObject()`
  Passes the resources and the service creator through the `ServiceLifecycle`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LifecycleWrappedServiceCreator

    public LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)

- ## Method Details

  - ### createObject

    public Object createObject()
    Passes the resources and the service creator through the `ServiceLifecycle`.
    Specified by:
      `createObject` in interface `ObjectCreator`