[jsr-314-open] [NEW - MR] Add ExpressionFactory to "11.4.6 Delegating Implementation Support"

Pete Muir pmuir at redhat.com
Tue Aug 18 08:16:06 EDT 2009


Hi Ed,

See inline.

On 17 Aug 2009, at 22:59, Ed Burns wrote:

>>>>>> On Tue, 28 Jul 2009 14:00:51 +0100, Pete Muir  
>>>>>> <pmuir at redhat.com> said:
>
> PM> Hi all,
> PM> I would like to propose adding ExpressionFactory to the list of
> PM> classes required to support the decorator pattern. This is to aid
> PM> integration with CDI (JSR-299) implementations, which are  
> require a
> PM> callback when EL expression evaluation completes; the necessary  
> hook
> PM> into EL is via the ExpressionFactory. Adding ExpressionFactory  
> to this
> PM> list would make implemetors have to jump through fewer hoops to  
> obtain
> PM> the callback [1].
>
> PM> I propose this change to the MR so it can be used in the EE6  
> platform,
> PM> the target for JSR-299.
>
>>>>>> On Tue, 11 Aug 2009 19:23:52 -0400, Dan Allen <dan.j.allen at gmail.com 
>>>>>> > said:
>
> DA> +1
> DA> Has an issue report been created for this yet?
>
> No, but the right issue tracker is <https://uel.dev.java.net/>.
> Thankfully, this could just be specified as changes to the  
> newInstance()
> method on javax.el.ExpressionFactory.

I'm not sure why this requires any changes to Unified EL, the change  
is needed in JSF (see changes I suggested).

> Note that this can already be achieved by decorating the application
> instance itself and overriding the getExpressionFactory method.

Yes, this just makes it (significantly) easier.




More information about the jsr-314-open-mirror mailing list