org.glassfish.hk2.runlevel.utilities
Class Utilities

java.lang.Object
  extended by org.glassfish.hk2.runlevel.utilities.Utilities

public class Utilities
extends Object

Run level service related utilities.

Author:
tbeerbower

Constructor Summary
Utilities()
           
 
Method Summary
static String getRunLevelControllerName(Descriptor descriptor)
          Get the run level service name from the metadata of the given descriptor.
static int getRunLevelMode(Descriptor descriptor)
          Get the run level mode from the metadata of the given descriptor.
static Integer getRunLevelValue(Descriptor descriptor)
          Get the run level value from the metadata of the given descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

getRunLevelValue

public static Integer getRunLevelValue(Descriptor descriptor)
Get the run level value from the metadata of the given descriptor.

Parameters:
descriptor - the descriptor to get the run level for
Returns:
the run level

getRunLevelControllerName

public static String getRunLevelControllerName(Descriptor descriptor)
Get the run level service name from the metadata of the given descriptor.

Parameters:
descriptor - the descriptor
Returns:
the run level service name

getRunLevelMode

public static int getRunLevelMode(Descriptor descriptor)
Get the run level mode from the metadata of the given descriptor.

Parameters:
descriptor - the descriptor
Returns:
the mode


Copyright © 2013 Oracle Corporation. All Rights Reserved.