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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceLifecycle
get(java.lang.String scope)
Used to locate a configuration lifecycle, by name.
-
-
-
Method Detail
-
get
ServiceLifecycle get(java.lang.String scope)
Used to locate a configuration lifecycle, by name.- Parameters:
scope
-- Returns:
- the named lifecycle, or null if the name is not found
-
-