Re: Section 5.4.1 of JSF 1.2 FR

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 26 Jun 2006 10:15:01 -0700

Dennis Byrne wrote:
> There is only one @PostConstruct and one @PreDestroy on a managed bean, correct? The part reading "Methods on managed beans declared ... must be called " should not be interpretted as allowing more than one of these?
> If it is only one, and the user gives more than one, what happens?
JSR 250 states that only one method may be annotated. As to what
happens if more than one is
annotated, that is left to the implementation.
> If it is more than one, what order?
> Also, "private" should be ignored in the part reading "The method may be public, protected, private" ? Do we file bugs in the issue tracker on against things that are not in the code base?
The methods may be public, protected, package private, or private.

It should be noted that this section of the JSF 1.2 spec is going to be
updated in
the upcoming maintenance release. I believe it will be deferring to the
EE5 and JSR 250 instead of duplicating content as it does now.
> Thanks,
> Dennis Byrne
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail: