# Uses of Interface
org.apache.tapestry5.ioc.ServiceLifecycle

Packages that use ServiceLifecycle
Package
Description
org.apache.tapestry5.ioc
A code-centric, high-performance, simple Inversion of Control container
org.apache.tapestry5.ioc.internal
[INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
org.apache.tapestry5.ioc.internal.services
[INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
org.apache.tapestry5.ioc.internal.util
[INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
org.apache.tapestry5.ioc.modules
org.apache.tapestry5.ioc.services
Tapestry IOC service interfaces

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc

  Subinterfaces of ServiceLifecycle in org.apache.tapestry5.ioc
  Modifier and Type
  Interface
  Description
  `interface`
  `ServiceLifecycle2`
  Extension to `ServiceLifecycle` that adds an additional method.

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc.internal

  Classes in org.apache.tapestry5.ioc.internal that implement ServiceLifecycle
  Modifier and Type
  Class
  Description
  `class`
  `SingletonServiceLifecycle`
  The basic implementation of a service lifecycle, which simply uses the `ObjectCreator` to create an instance of the service when asked.
  Constructors in org.apache.tapestry5.ioc.internal with parameters of type ServiceLifecycle
  Modifier
  Constructor
  Description
  ``
  `LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)`

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc.internal.services

  Classes in org.apache.tapestry5.ioc.internal.services that implement ServiceLifecycle
  Modifier and Type
  Class
  Description
  `class`
  `PerThreadServiceLifecycle`
  Allows a service to exist "per thread" (in each thread).

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc.internal.util

  Methods in org.apache.tapestry5.ioc.internal.util with parameters of type ServiceLifecycle
  Modifier and Type
  Method
  Description
  `static ServiceLifecycle2`
  InternalUtils.`toServiceLifecycle2(ServiceLifecycle lifecycle)`

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc.modules

  Method parameters in org.apache.tapestry5.ioc.modules with type arguments of type ServiceLifecycle
  Modifier and Type
  Method
  Description
  `static ServiceLifecycleSource`
  TapestryIOCModule.`build(Map<String,ServiceLifecycle> configuration)`
  Provides access to additional service lifecycles.
  `static void`
  TapestryIOCModule.`providePerthreadScope(MappedConfiguration<String,ServiceLifecycle> configuration)`
  Contributes the "perthread" scope.

- ## Uses of ServiceLifecycle in org.apache.tapestry5.ioc.services

  Methods in org.apache.tapestry5.ioc.services that return ServiceLifecycle
  Modifier and Type
  Method
  Description
  `ServiceLifecycle`
  ServiceLifecycleSource.`get(String scope)`
  Used to locate a configuration lifecycle, by name.