Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.13.5
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
The Java EE 5 lifecycle support should invoke methods annotated with @PostConstruct and @PreDestroy also in inherited classes.
In the class JavaEE5LifecycleStrategy the methods hasLifeCycle() and doLifecycleMethod() should walk the type hierarchy and invoke methods in the proper order, taking into account if methods found has been overridden.
Will https://fisheye.codehaus.org/changelog/picocontainer?cs=5790 do ?
If that's not reindexed by the time your get to it: see the new method in https://fisheye.codehaus.org/changelog/picocontainer?cs=5790
Specifically, its super-first FIFO, both for @PostConstruct and @PreDestroy.