jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: Making InjectionProvider part of the JSF API

From: Edward Burns <edward.burns_at_oracle.com>
Date: Tue, 27 Nov 2012 19:05:54 -0800

>>>>> On Mon, 26 Nov 2012 13:47:51 -0800, Phillip Webb <pwebb_at_vmware.com> said:

PW> Regarding section 5.4 ("Leveraging Java EE Platform Annotations in
PW> Managed Beans or other JSF artifacts") and the ability to inject
PW> dependencies into JSF managed objects. Mojarra currently defines the
PW> com.sun.faces.spi.InjectionProvider interface. Have you considered
PW> making that an API class so it can be used with Apache MyFaces as
PW> well as with dependency injection providers such as the Spring
PW> Framework?

The reason we positioned this as an SPI in the first place is the tacet
admission that injection is really a more foundational concern than JSF.
I would like to suggest this be brought up on CDI 1.1 JSR-346.

It also might fit into a maintenance release of JSR-330. Because VMware
was co-spec lead of that JSR, I think you have some authority to start
such a thing, but obviously it would not make the JavaEE 7 train.

Phil, as a convenience, I can bring it up there if you like, or you can
do so directly [1].

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/
[1] https://lists.jboss.org/mailman/listinfo/cdi-feedback