org.apache.tapestry5.ioc.services
Interface ServiceLifecycleSource


@UsesMappedConfiguration(value=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
 ServiceLifecycle get(String scope)
          Used to locate a configuration lifecycle, by name.
 

Method Detail

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


Copyright © 2003-2012 The Apache Software Foundation.