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 |
|---|---|
| public static ExpressionFactory | |
| private static ThreadLocal | instance
The |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Constructor | |
| pack-priv static Method | findMethod(Class<?> klass, String method, Class<?>[] paramTypes, Object[] params, boolean staticOnly)
|
| private static Map | 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.
|
| public static String | |
| public static String | |
| pack-priv static ExpressionFactory | |
| pack-priv static Object | |
| pack-priv static Object | |
| private static void | setCurrentInstance(Map<String, ResourceBundle>
the Map to be stored in ThreadLocal storage. context)Replace the Map with the argument context. |
| exprFactory | back to summary |
|---|---|
| public static ExpressionFactory exprFactory | |
| instance | back to summary |
|---|---|
| private static ThreadLocal<Map<String, ResourceBundle>> instance The | |
| ELUtil | back to summary |
|---|---|
| private ELUtil() This class may not be constructed. | |
| findConstructor | back to summary |
|---|---|
| pack-priv static Constructor | |
| findMethod | back to summary |
|---|---|
| pack-priv static Method findMethod(Class<?> klass, String method, Class<?>[] paramTypes, Object[] params, boolean staticOnly) | |
| getCurrentInstance | back to summary |
|---|---|
private static Map
| |
| getExceptionMessageString | back to summary |
|---|---|
| public static String getExceptionMessageString(ELContext context, String messageId) | |
| getExceptionMessageString | back to summary |
|---|---|
| public static String getExceptionMessageString(ELContext context, String messageId, Object[] params) | |
| getExpressionFactory | back to summary |
|---|---|
| pack-priv static ExpressionFactory getExpressionFactory() | |
| invokeConstructor | back to summary |
|---|---|
| pack-priv static Object invokeConstructor(ELContext context, Constructor<?> c, Object[] params) | |
| invokeMethod | back to summary |
|---|---|
| pack-priv static Object invokeMethod(ELContext context, Method m, Object base, Object[] params) | |
| setCurrentInstance | back to summary |
|---|---|
| private static void setCurrentInstance(Map<String, ResourceBundle> context) Replace the Map with the argument context.
| |