jsr341-experts@el-spec.java.net

[jsr341-experts] Evaluation Listener and other progress

From: Kin-man Chung <kinman.chung_at_oracle.com>
Date: Fri, 30 Sep 2011 12:54:57 -0700

I know most of us are busy getting ready for JavaOne, and we probably
won't be discussing this until after J1. I just want to let you guys
know that I have a proposal for EvaluationListener at

     http://java.net/projects/el-spec/pages/EvaluationListener

It is a straight forward listener that contains two notifications:
beforeEvaluation and afterEvaluation. I've also added a method to
ELManager and ELContext that allows the user to register a
EvaluationListener. I've made it general enough so to allow adding
other types of listeners in the future.

The EvaluationEvent that comes with the notifications contains the
ELContext as well as the original expression strings. I think it may be
useful for the user to know which expression is being evaluated.

On the implementation front, I've finished the support for static fields
and methods, including constructor calls. I've also implemented imports
of classes and packages. Try checking out codes, building and testing
them if you wish. I'll check in some junit tests later.

Talk to you all after J1. :-)

Kin-man