[jboss-jira] [JBoss JIRA] (WFLY-4580) Lifecycle interceptors do not work
Stuart Douglas (JIRA)
issues at jboss.org
Mon May 4 22:19:46 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved WFLY-4580.
----------------------------------
Resolution: Done
This works fine, see https://github.com/wildfly/wildfly/pull/7410 for a test case.
> Lifecycle interceptors do not work
> ----------------------------------
>
> Key: WFLY-4580
> URL: https://issues.jboss.org/browse/WFLY-4580
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: JBoss AS7 7.1.1.Final, 8.2.0.Final
> Reporter: Xavier Dury
> Assignee: Stuart Douglas
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list