Package org.glassfish.hk2.api
Enum ImmediateController.ImmediateServiceState
- java.lang.Object
-
- java.lang.Enum<ImmediateController.ImmediateServiceState>
-
- org.glassfish.hk2.api.ImmediateController.ImmediateServiceState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ImmediateController.ImmediateServiceState>
- Enclosing interface:
- ImmediateController
public static enum ImmediateController.ImmediateServiceState extends java.lang.Enum<ImmediateController.ImmediateServiceState>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ImmediateServiceState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImmediateController.ImmediateServiceState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ImmediateController.ImmediateServiceState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUSPENDED
public static final ImmediateController.ImmediateServiceState SUSPENDED
The system will not create new Immediate services when in SUSPENDED state. Suspended state does not imply that Immediate services will be shutdown, but rather that any new Immediate services that come along will not be started
-
RUNNING
public static final ImmediateController.ImmediateServiceState RUNNING
The system will create new Immediate services as soon as they are found
-
-
Method Detail
-
values
public static ImmediateController.ImmediateServiceState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImmediateController.ImmediateServiceState c : ImmediateController.ImmediateServiceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImmediateController.ImmediateServiceState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-