PicoContainer
  1. PicoContainer
  2. PICO-383

Support @PostConstruct and @PreDestroy in base classes

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.5
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      0

      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.

        People

        • Assignee:
          Paul Hammant
          Reporter:
          tobias mattsson
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: