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

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

From: Kito Mann <kito.mann_at_virtua.com>
Date: Tue, 27 Nov 2012 22:15:18 -0500

On Tue, Nov 27, 2012 at 10:05 PM, Edward Burns <edward.burns_at_oracle.com>wrote:

> >>>>> 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.
>

Ed, it seems that you're saying this should be handled via CDI and not
answering Phi's question regarding JSF managed beans. Am I missing
something?

- Kito