[cdi-dev] [JBoss JIRA] (CDI-82) Clarify the usage of EJB3 interceptors as managed beans

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue Sep 11 11:08:32 EDT 2012


    [ https://issues.jboss.org/browse/CDI-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717560#comment-12717560 ] 

Marius Bogoevici commented on CDI-82:
-------------------------------------

I think there are two parts to it:

- clarify the situation of method signatures (which only the interceptors spec can deal with)
- identify what is an interceptor and what isn't. As long as the interceptors spec allows for vanilla classes to be interceptors, and they can be managed beans as well in CDI, we have this ambiguity. 

One way of dealing with this is for the interceptors spec to allow for multiple lifecycle methods of the same kind, disambiguating between self-interception and external interception by method signature - i.e. (@PostConstruct x() is self, @PostConstruct(InvocationContext y) is external ).

But again, this is not the interceptors spec JIRA :). 


                
> Clarify the usage of EJB3 interceptors as managed beans
> -------------------------------------------------------
>
>                 Key: CDI-82
>                 URL: https://issues.jboss.org/browse/CDI-82
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Beans, Interceptors, Java EE integration
>    Affects Versions: 1.0
>            Reporter: Marius Bogoevici
>            Assignee: Marius Bogoevici
>             Fix For: 1.1 (Proposed)
>
>
> Background:
> http://lists.jboss.org/pipermail/weld-dev/2010-April/002484.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list