[jsr-314-open-mirror] [jsr-314-open] [2.0RevA-C071] none scoped beans and @PostConstruct

Ed Burns edward.burns at oracle.com
Tue May 25 14:21:35 EDT 2010


This is in the Change Log, and in issue 1683 [1].

Section 5.4.1 of the JSF 1.2 spec states:

  Methods on managed beans declared to be in request, session, or
  application scope, annotated with @PostConstruct, must be called by the
  JSF implementation after resource injection is performed (if any) but
  before the bean is placed into scope.

Mojarra currently *does* cause these methods to be called,

What's right?  Call it or not call it?  I think not call it.  Thoughts?

Ed

[1] https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1683
-- 
| edburns at oracle.com | 
| homepage:          | http://ridingthecrest.com/



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