-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
5.1.5.Final
-
None
I need to add beans in "After Bean Discovery" that are created outside of CDI (and they do not have bean defining annotations).
These beans may have methods or classes annotated with a annotation that is an `InterceptorBinding` and that has a proper interceptor available in CDI.
According to my understanding of the documentation, this should be achievable by using `BeanManager.createInterceptionFactory` and this indeed works, as long as the extension is created in the same module that hosts the types being added.
When I move the Extension to its own modules (without changing a single line of code), it stops working and interception does not happen on my types.