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

[jsr344-experts] Re: Public Review Draft comments #1

From: Manfred Riem <manfred.riem_at_oracle.com>
Date: Fri, 30 Nov 2012 14:41:43 -0600

Hi Kito,

@PostConstruct and @PreDestroy are indeed supported for old style
@ViewScoped beans.

Manfred

On 11/30/2012 2:33 PM, Kito Mann wrote:
>
>
> On Fri, Nov 30, 2012 at 3:24 PM, Edward Burns <edward.burns_at_oracle.com
> <mailto:edward.burns_at_oracle.com>> wrote:
>
> >>>>> On Fri, 30 Nov 2012 15:15:07 -0500, Kito Mann
> <kito.mann_at_virtua.com <mailto:kito.mann_at_virtua.com>> said:
>
> >>
> KM> Also, according to this, view-scoped and flow-scoped beans are not
> >> eligible
> KM> for resource injection. Is that accurate?
> >>
> >> Yes, that is correct. I will clarify that.
> >>
>
> KM> Is there a way we can avoid this limitation? Are they not
> eligible for
> KM> resource injection and the other Java EE annotations? If so,
> that's a big
> KM> deal, because ViewScope is most popular scope I see these days.
>
> They will be injectable if they are CDI beans, but I wasn't going to
> require them to be injectable if they are javax.faces.bean beans. Is
> that ok?
>
>
> Not even for @PostConstruct and @PreDestroy? Isn't that supported
> today for view-scoped beans?
>
>
> Ed
>
> --
> | edward.burns_at_oracle.com <mailto:edward.burns_at_oracle.com> |
> office: +1 407 458 0017 <tel:%2B1%20407%20458%200017>
> | homepage: | http://ridingthecrest.com/
>
>