class ELUtil
extends java.lang.Object
Utility methods for this portion of the EL implementation
Methods on this class use a Map instance stored in ThreadLocal storage to minimize the performance impact on operations that take place multiple times on a single Thread. The keys and values of the Map are implementation private.
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal |
instance
The
ThreadLocal variable used to record the
javax.faces.context.FacesContext instance for each
processing thread. |
Modifier | Constructor and Description |
---|---|
private |
ELUtil()
This class may not be constructed.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Map |
getCurrentInstance() |
static java.lang.String |
getExceptionMessageString(ELContext context,
java.lang.String messageId) |
static java.lang.String |
getExceptionMessageString(ELContext context,
java.lang.String messageId,
java.lang.Object[] params) |
private static void |
setCurrentInstance(java.util.Map context)
Replace the Map with the argument context.
|
private static java.lang.ThreadLocal instance
The ThreadLocal
variable used to record the
javax.faces.context.FacesContext
instance for each
processing thread.
private static java.util.Map getCurrentInstance()
private static void setCurrentInstance(java.util.Map context)
Replace the Map with the argument context.
context
- the Map to be stored in ThreadLocal storage.public static java.lang.String getExceptionMessageString(ELContext context, java.lang.String messageId)
public static java.lang.String getExceptionMessageString(ELContext context, java.lang.String messageId, java.lang.Object[] params)