[jboss-jira] [JBoss JIRA] (WFLY-4580) Lifecycle interceptors do not work
Xavier Dury (JIRA)
issues at jboss.org
Mon May 4 08:01:45 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064970#comment-13064970 ]
Xavier Dury commented on WFLY-4580:
-----------------------------------
WELD-1391 is very similar to my issue (and seems to have been fixed before Weld 2.0 final) but there I see that interceptors are declared via {{@Interceptors}} whereas I'm declaring them in {{beans.xml}}. Maybe this issue should be transferred to WELD...
> 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