Hello
I recently received the following customer issue:
https://github.com/OpenLiberty/open-liberty/issues/33940
The customer is using a library with a CDI extension:
https://github.com/eclipse-ee4j/krazo/blob/4.0.1/core/src/main/java/org/e...
And that extension calls BeforeBeanAnnotation.addAnnotatedType (via a Utils class) on many
types, one of them (KrazoConfig) has no bean defining annotations.
I've found that if I have no beans.xml in the krazo jar, this works fine, and the
various injection points expecting a KrazoConfig in this jar are happy. But if I add a
beans.xml file with a scanning mode of none, I get UnsatisfiedResolutionExceptions for
KrazoConfig.
My question is, is this behaviour expected? And if so please can you point me to the spec
that defines this behaviour?
Regards
Benjamin
Unless otherwise stated above:
IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: Building C, IBM Hursley Office, Hursley Park Road, Winchester,
Hampshire SO21 2JN