Re: Path parameter injection before @PostConstruct

Splash Forums PrettyFaces Users Path parameter injection before @PostConstruct Re: Path parameter injection before @PostConstruct

#20241

Unfortunately that would be outside the scope of PrettyFaces. @PostConstruct is intentionally run immediately after bean creation, and should always be the first thing run after bean creation. This is the responsibility of whatever bean-container you are using (CDI, Spring, Guice, Seam, EJB) etc… and cannot be changed unless that bean-container is patched.

The simple answer is: PrettyFaces just follows the rules and does injections/actions after @PostConstruct.