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 java.lang.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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.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 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 the `ServiceLifecycle`.
      Specified by:
        `createObject` in interface `ObjectCreator`