org.richfaces.log
Enum RichfacesLogger
java.lang.Object
java.lang.Enum<RichfacesLogger>
org.richfaces.log.RichfacesLogger
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RichfacesLogger>
public enum RichfacesLogger
- extends java.lang.Enum<RichfacesLogger>
- Author:
- Anton Belevich
Method Summary |
static java.lang.String |
getComponentPath(javax.faces.component.UIComponent component)
Return string which contains formated path from view root to component. |
org.slf4j.Logger |
getLogger()
|
java.lang.String |
getLoggerName()
|
static RichfacesLogger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RichfacesLogger[] |
values()
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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RESOURCE
public static final RichfacesLogger RESOURCE
RENDERKIT
public static final RichfacesLogger RENDERKIT
CONFIG
public static final RichfacesLogger CONFIG
CONNECTION
public static final RichfacesLogger CONNECTION
APPLICATION
public static final RichfacesLogger APPLICATION
CACHE
public static final RichfacesLogger CACHE
CONTEXT
public static final RichfacesLogger CONTEXT
COMPONENTS
public static final RichfacesLogger COMPONENTS
WEBAPP
public static final RichfacesLogger WEBAPP
UTIL
public static final RichfacesLogger UTIL
values
public static RichfacesLogger[] 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 (RichfacesLogger c : RichfacesLogger.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RichfacesLogger 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 name
java.lang.NullPointerException
- if the argument is null
getLoggerName
public java.lang.String getLoggerName()
getLogger
public org.slf4j.Logger getLogger()
getComponentPath
public static java.lang.String getComponentPath(javax.faces.component.UIComponent component)
- Return string which contains formated path from view root to component.
- Parameters:
component
-
- Returns:
- string
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.