Package org.apache.tapestry5.ioc.services

# Interface ServiceLifecycleSource

@UsesMappedConfiguration(ServiceLifecycle.class) public interface ServiceLifecycleSource
Provides access to user defined lifecycles (beyond the two built-in lifecycles: "singleton" and "primitive"). The user defined lifecycles are contributed into the service's configuration. Note that the default scope "singleton" is special and not a contribution.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ServiceLifecycle`
  `get(String scope)`
  Used to locate a configuration lifecycle, by name.

- ## Method Details

  - ### get

    ServiceLifecycle get(String scope)
    Used to locate a configuration lifecycle, by name.
    Parameters:
      `scope` -
    Returns:
      the named lifecycle, or null if the name is not found