public class RunLevelServiceUtilities extends Object
| Constructor and Description |
|---|
RunLevelServiceUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableRunLevelService(ServiceLocator locator)
Enables the RunLevelService in the given
ServiceLocator. |
public static void enableRunLevelService(ServiceLocator locator)
ServiceLocator.
If the RunLevelContext is already registered then
this method does nothing.
All services needed by the
RunLevelService feature are marked with Service and
hence would be automatically picked up in environments that
use automatic service discovery
locator - the non-null service locator to add
the run-level service toCopyright © 2009–2014 Oracle Corporation. All rights reserved.