[
https://issues.jboss.org/browse/CDI-9?page=com.atlassian.jira.plugin.syst...
]
Pete Muir commented on CDI-9:
-----------------------------
No, this isn't clear in the spec. As Marius says "any managed bean that is not
itself an interceptor or decorator..." - Bean's which are added via addBean
aren't defined as managed beans - from 2.1 "A managed bean is a bean that is
implemented by a Java class. " whilst a bean added via addBean is implemented any way
the user desires.
Interceptors are not applied to custom bean types
-------------------------------------------------
Key: CDI-9
URL:
https://issues.jboss.org/browse/CDI-9
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Interceptors, Portable Extensions
Affects Versions: 1.0
Reporter: Stuart Douglas
Fix For: TBD
Beans added through the SPI do not have interceptors applied.
Even though bean does not have a getInterceptorBindings() method, interceptors applied
to stereotypes should still work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira