Plus 1
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: Dan Allen <dan.j.allen(a)gmail.com>
Date: Tue, 11 Aug 2009 19:23:52
To: <jsr-314-open(a)jcp.org>
Cc: Roberto Chinnici<Roberto.Chinnici(a)sun.com>
Subject: Re: [jsr-314-open] [NEW - MR] Add ExpressionFactory to "11.4.6
Delegating Implementation Support"
+1
Has an issue report been created for this yet?
On Tue, Jul 28, 2009 at 9:00 AM, Pete Muir <pmuir(a)redhat.com> wrote:
Hi all,
I would like to propose adding ExpressionFactory to the list of classes
required to support the decorator pattern. This is to aid integration with
CDI (JSR-299) implementations, which are require a callback when EL
expression evaluation completes; the necessary hook into EL is via the
ExpressionFactory. Adding ExpressionFactory to this list would make
implemetors have to jump through fewer hoops to obtain the callback [1].
I propose this change to the MR so it can be used in the EE6 platform, the
target for JSR-299.
Changes to spec required
-----------------------------------
* Add ExpressionFactory to the list of classes required to support the
decorator pattern
* Add ExpressionFactoryWrapper class to support the decorator pattern
Changes to implementation required
--------------------------------------------------
* Add support for exposing and using wrapped ExpressionFactory
Impact on users and frameworks
--------------------------------------------
Users can now:
* call application.setExpressionFactory(new
WebBeansExpressionFactory(application.getExpressionFactory());
* configure a wrapping expression factory in faces-config.xml
<application>
<expressionFactory>org.jboss.webbeans.el.WebBeansExpressionFactory</expressionFactory>
</application>
[1] Currently this is possible by wrapping the application via the
application factory and overriding the getExpressionFactory method
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan