Notify interested listeners that an expression will be evaluated. @param expression The expression that will be evaluated @since EL 3.0
(String expression)
| 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. |