When CDI support is enabled in JBDS then JBDS emits false warning about incorrect injections in these cases
a) @Inject org.switchyard.Context
emits - No bean is eligible for injection to the injection point [JSR-299 ยง5.2.1]
b) @Inject @Reference SimpleService
emits the same message. The problem is that @Reference is a CDI qualifier but of course there is no bean qualified with this qualifier as we annotate services with @Service annotation
|