public class Utilities extends Object
Constructor and Description |
---|
Utilities() |
Modifier and Type | Method and Description |
---|---|
static int |
getRunLevelMode(ServiceLocator locator,
Descriptor descriptor,
Integer modeOverride)
Get the run level mode from the metadata of the given descriptor.
|
static int |
getRunLevelValue(ServiceLocator locator,
Descriptor descriptor)
Get the run level value from the metadata of the given descriptor.
|
public static int getRunLevelValue(ServiceLocator locator, Descriptor descriptor)
descriptor
- the descriptor to get the run level forpublic static int getRunLevelMode(ServiceLocator locator, Descriptor descriptor, Integer modeOverride)
descriptor
- the descriptorCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.