JavaScript is disabled on your browser.
All Implemented Interfaces:
Serializable
, Comparable <LogCategory >
, java.lang.constant.Constable
EclipseLink categories used for logging name space.
The EclipseLink categories for the logging name space are:
Logging categories
ALL = "all"
CACHE = "cache"
CONNECTION = "connection"
DDL = "ddl"
DMS = "dms"
EJB = "ejb"
EJB_OR_METADATA = "ejb_or_metadata"
EVENT = "event"
JPA = "jpa"
JPARS = "jpars"
METADATA = "metadata"
METAMODEL = "metamodel"
MONITORING = "monitoring"
MOXY = "moxy"
PROPAGATION = "propagation"
PROPERTIES = "properties"
QUERY = "query"
SEQUENCING = "sequencing"
SERVER = "server"
SQL = "sql"
THREAD = "thread"
TRANSACTION = "transaction"
WEAVER = "weaver"
Enum Constant Summary
Enum Constants
Field Summary
Fields
static final int
Logging categories enumeration length.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
byte
Get log level property name for this logging category.
Get logging category name.
Get logger name space for this logging category.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Field Details
length
public static final int length
Logging categories enumeration length.
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
toValue
Parameters:
name
- The String
to be parsed.
Returns:
LogCategory
object holding the value represented by the string argument or null
when
there exists no corresponding LogCategory
object to provided argument value. null
value
of the string argument is converted to ALL
.
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
public String getLogLevelProperty ()
Get log level property name for this logging category.
Returns:
Log level property name for this logging category.