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 and Description
    `LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### LifecycleWrappedServiceCreator

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

  - ### Method Detail

    - #### createObject

          public Object createObject()

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

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.