Package javax.el
Class ELUtil
java.lang.Object
javax.el.ELUtil
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static ExpressionFactoryprivate static ThreadLocal<Map<String, ResourceBundle>> TheThreadLocalvariable used to record theinstance for each processing thread.invalid reference
javax.faces.context.FacesContext(package private) static final Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Constructor<?> findConstructor(Class<?> klass, Class<?>[] paramTypes, Object[] params) (package private) static MethodfindMethod(Class<?> klass, String method, Class<?>[] paramTypes, Object[] params, boolean staticOnly) private static Map<String, ResourceBundle> static StringgetExceptionMessageString(ELContext context, String messageId) static StringgetExceptionMessageString(ELContext context, String messageId, Object[] params) (package private) static ExpressionFactory(package private) static ObjectinvokeConstructor(ELContext context, Constructor<?> c, Object[] params) (package private) static ObjectinvokeMethod(ELContext context, Method m, Object base, Object[] params) private static voidsetCurrentInstance(Map<String, ResourceBundle> context) Replace the Map with the argument context.private static void
-
Field Details
-
EL_BC22_PROPERTY
- See Also:
-
properties
-
exprFactory
-
instance
The
ThreadLocalvariable used to record theinstance for each processing thread.invalid reference
javax.faces.context.FacesContext
-
-
Constructor Details
-
ELUtil
private ELUtil()This class may not be constructed.
-
-
Method Details
-
setupProperties
private static void setupProperties() -
getCurrentInstance
- Returns:
- a Map stored in ThreadLocal storage. This may be used by methods of this class to minimize the performance impact for operations that may take place multiple times on a given Thread instance.
-
setCurrentInstance
Replace the Map with the argument context.
- Parameters:
context- the Map to be stored in ThreadLocal storage.
-
getExceptionMessageString
-
getExceptionMessageString
-
getExpressionFactory
-
findConstructor
-
invokeConstructor
-
findMethod
-
invokeMethod
-