- All Implemented Interfaces:
Serializable,Comparable<LogCategory>,Constable
EclipseLink categories used for logging name spaces.
The EclipseLink categories are:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbytegetId()Get logging category ID.Get log level property name for this logging category.getName()Get logging category name.Get logger name space for this logging category.static final LogCategoryReturns LogCategory object holding the value of the specified String.static LogCategoryReturns the enum constant of this class with the specified name.static LogCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
-
CACHE
-
CONNECTION
-
DDL
-
DMS
-
EJB
-
EVENT
-
JPA
-
JPARS
-
METADATA
-
METAMODEL
-
MISC
-
MONITORING
-
MOXY
-
PROCESSOR
-
PROPAGATION
-
PROPERTIES
-
QUERY
-
SEQUENCING
-
SERVER
-
SQL
-
TRANSACTION
-
WEAVER
-
THREAD
-
-
Field Details
-
length
public static final int lengthLogging categories enumeration length.
-
-
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
-
toValue
Returns LogCategory object holding the value of the specified String.- Parameters:
name- The String to be parsed.- Returns:
- LogCategory object holding the value represented by the string argument or
nullwhen there exists no corresponding LogCategory object to provided argument value.nullvalue of the string argument is converted toALL.
-
getId
public byte getId()Get logging category ID.- Returns:
- Logging category ID.
-
getName
Get logging category name.- Returns:
- Logging category name.
-
getNameSpace
Get logger name space for this logging category.- Returns:
- Logger name space for this logging category.
-
getLogLevelProperty
Get log level property name for this logging category.- Returns:
- Log level property name for this logging category.
-