MCPcopy Create free account
hub / github.com/apache/tomcat / setELContext

Method setELContext

java/jakarta/el/ELManager.java:72–76  ·  view source on GitHub ↗

Replaces the current EL context with a new StandardELContext initialized from the given context. The new context copies the ELResolver chain, FunctionMapper, VariableMapper, and other settings from the provided context. @param context the ELContext from which to initialize the new context

(ELContext context)

Source from the content-addressed store, hash-verified

70 * @return the previous StandardELContext, or {@code null} if none existed
71 */
72 public ELContext setELContext(ELContext context) {
73 StandardELContext oldContext = this.context;
74 this.context = new StandardELContext(context);
75 return oldContext;
76 }
77
78 /**
79 * Adds a {@link BeanNameELResolver} to the resolver chain that uses the given

Callers 1

convertToTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected