Package com.sun.faces.util
Enum FacesLogger
- java.lang.Object
-
- java.lang.Enum<FacesLogger>
-
- com.sun.faces.util.FacesLogger
-
- All Implemented Interfaces:
Serializable
,Comparable<FacesLogger>
public enum FacesLogger extends Enum<FacesLogger>
Anenum
of all applicationLogger
s.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static String
FACES_LOGGER_NAME_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
getLogger()
String
getLoggerName()
String
getResourcesName()
String
interpolateMessage(FacesContext context, String messageId, Object[] params)
static FacesLogger
valueOf(String name)
Returns the enum constant of this type with the specified name.static FacesLogger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLICATION
public static final FacesLogger APPLICATION
-
APPLICATION_VIEW
public static final FacesLogger APPLICATION_VIEW
-
RESOURCE
public static final FacesLogger RESOURCE
-
CONFIG
public static final FacesLogger CONFIG
-
CONTEXT
public static final FacesLogger CONTEXT
-
FACELETS_COMPILER
public static final FacesLogger FACELETS_COMPILER
-
FACELETS_COMPONENT
public static final FacesLogger FACELETS_COMPONENT
-
FACELETS_EL
public static final FacesLogger FACELETS_EL
-
FACELETS_META
public static final FacesLogger FACELETS_META
-
FACELETS_COMPOSITION
public static final FacesLogger FACELETS_COMPOSITION
-
FACELETS_DECORATE
public static final FacesLogger FACELETS_DECORATE
-
FACELETS_INCLUDE
public static final FacesLogger FACELETS_INCLUDE
-
FACELETS_FACELET
public static final FacesLogger FACELETS_FACELET
-
FACELETS_FACTORY
public static final FacesLogger FACELETS_FACTORY
-
FLOW
public static final FacesLogger FLOW
-
LIFECYCLE
public static final FacesLogger LIFECYCLE
-
MANAGEDBEAN
public static final FacesLogger MANAGEDBEAN
-
RENDERKIT
public static final FacesLogger RENDERKIT
-
TAGLIB
public static final FacesLogger TAGLIB
-
TIMING
public static final FacesLogger TIMING
-
UTIL
public static final FacesLogger UTIL
-
FLASH
public static final FacesLogger FLASH
-
CLIENTWINDOW
public static final FacesLogger CLIENTWINDOW
-
-
Field Detail
-
FACES_LOGGER_NAME_PREFIX
public static final String FACES_LOGGER_NAME_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FacesLogger[] 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 (FacesLogger c : FacesLogger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FacesLogger valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLoggerName
public String getLoggerName()
-
getResourcesName
public String getResourcesName()
-
getLogger
public Logger getLogger()
-
interpolateMessage
public String interpolateMessage(FacesContext context, String messageId, Object[] params)
-
-