Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4580

Lifecycle interceptors do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • JBoss AS7 7.1.1.Final, 8.2.0.Final
    • CDI / Weld
    • None

      I've been trying to use lifecycle interceptors (intercepting PostConstruct and PreDestroy, see https://issues.jboss.org/browse/WELD-1346 for reference) in my project and those do not seem to work at all (nor on enterprise managed beans nor on regular CDI managed beans).

      I tried on both JBoss AS 7.1.1 and Wildfly 8.2.0 but lifecycle interceptors are never called while other interceptors (AroundInvoke) are.

      I tested the same code on OpenEJB and it works.

            sdouglas1@redhat.com Stuart Douglas
            xavierdury Xavier Dury (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: