java.lang.ObjectContext information for expression evaluation.javax.el.ELContext
To evaluate an Expression , an ELContext must be
provided. The ELContext holds:
ELResolversThe collection of context objects is necessary because each
ELResolver may need access to a different context object.
For example, JSP and Faces resolvers need access to a
javax.servlet.jsp.JspContext and a
javax.faces.context.FacesContext , respectively.
Creation of ELContext objects is controlled through
the underlying technology. For example, in JSP the
JspContext.getELContext() factory method is used.
Some technologies provide the ability to add an ELContextListener
so that applications and frameworks can ensure their own context objects
are attached to any newly created ELContext.
Because it stores state during expression evaluation, an
ELContext object is not thread-safe. Care should be taken
to never share an ELContext instance between two or more
threads.
JSP - 2.1| Method from javax.el.ELContext Summary: |
|---|
| getContext, getELResolver, getFunctionMapper, getLocale, getVariableMapper, isPropertyResolved, putContext, setLocale, setPropertyResolved |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.el.ELContext Detail: |
|---|
The By convention, the object returned will be of the type specified by
the |
ELResolver associated with this context.
The Once an |
FunctionMapper associated with this
ELContext. |
Locale stored by a previous invocation to
#setLocale . If this method returns non null,
this Locale must be used for all localization needs
in the implementation. The Locale must not be cached
to allow for applications that change Locale dynamically. |
VariableMapper associated with this
ELContext. |
The CompositeELResolver checks this property to determine whether it should consider or skip other component resolvers. |
ELContext.
The By convention, the |
Locale for this instance. This method may be
called by the party creating the instance, such as JavaServer
Faces or JSP, to enable the EL implementation to provide localized
messages to the user. If no Locale is set, the implementation
must use the locale returned by Locale.getDefault( ). |
ELResolver has successfully
resolved a given (base, property) pair.
The CompositeELResolver checks this property to determine whether it should consider or skip other component resolvers. |