- All Implemented Interfaces:
Serializable,Comparable<GlassFishLoggingStatus>,java.lang.constant.Constable
This enum represents states of the GlassFish Logging lifecycle.
- Author:
- David Matejcek
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGlassFish Logging reconfiguration is executed.The reconfiguration is finished.Logging is configured and provides full service.The initialization is done - the global LogManager instance is set and cannot be changed any more, but it's configuration is not completed.The logging is not available, requires initialization first. -
Method Summary
Modifier and TypeMethodDescriptionstatic GlassFishLoggingStatusReturns the enum constant of this class with the specified name.static GlassFishLoggingStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNINITIALIZED
The logging is not available, requires initialization first. The initialization usually starts by the first usage of anyLoggerinstance or by the first LogManager.getManager call. -
UNCONFIGURED
The initialization is done - the global LogManager instance is set and cannot be changed any more, but it's configuration is not completed. -
CONFIGURING
GlassFish Logging reconfiguration is executed.This part is extremely fragile - if your logging configuration is incorrect, it is not guaranteed that the logging will work.
-
FLUSHING_BUFFERS
The reconfiguration is finished.Now it is time to flush all buffers in logging.
-
FULL_SERVICE
Logging is configured and provides full service.
-
-
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
-