Steps to Reproduce:
|
- Create a class NothingSpecial with a public method test() in jar A
,
and annotate
it
with an interceptor binding (e.g: @Logged). DO NOT place a beans.xml in the jar. - In Jar B, place a beans.xml and create a CDI Portable Extension - Observe AfterBeanDiscovery and call addAnnotatedType() to register the NothingSpecial class with CDI - In a web project, inject NothingSpecial and call test()
- LoggedInterceptor, bound to @Logged is not be invoked
|