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

Method notifyBeforeEvaluation

java/jakarta/el/ELContext.java:224–237  ·  view source on GitHub ↗

Notify interested listeners that an expression will be evaluated. @param expression The expression that will be evaluated @since EL 3.0

(String expression)

Source from the content-addressed store, hash-verified

222 * @since EL 3.0
223 */
224 public void notifyBeforeEvaluation(String expression) {
225 if (listeners == null) {
226 return;
227 }
228
229 for (EvaluationListener listener : listeners) {
230 try {
231 listener.beforeEvaluation(this, expression);
232 } catch (Throwable t) {
233 Util.handleThrowable(t);
234 // Ignore - no option to log
235 }
236 }
237 }
238
239 /**
240 * Notify interested listeners that an expression has been evaluated.

Callers 3

getValueReferenceMethod · 0.45
getMethodReferenceMethod · 0.45

Calls 2

handleThrowableMethod · 0.95
beforeEvaluationMethod · 0.45

Tested by 1