Module org.glassfish.hk2.api
Package org.glassfish.hk2.api
Enum Class ImmediateController.ImmediateServiceState
java.lang.Object
java.lang.Enum<ImmediateController.ImmediateServiceState>
org.glassfish.hk2.api.ImmediateController.ImmediateServiceState
- All Implemented Interfaces:
Serializable,Comparable<ImmediateController.ImmediateServiceState>,Constable
- Enclosing interface:
- ImmediateController
public static enum ImmediateController.ImmediateServiceState
extends Enum<ImmediateController.ImmediateServiceState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
The system will create new Immediate services as soon as they are found
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-