Actually one more thing. The CDI extension only looks for JAX-RS @Provider not CXF @Provider.
On 2017-12-22 09:06, "John D. Ament"<[email protected]> wrote: > I'm not sure what the CDI extension has to do with this. It has no bean > defining annotations, and there is no beans.xml in the JAR that it ships with > so I'm not sure it would be picked up by the extension. > > There's nothing special done for TomcatwarTest to make more JARs available, > right? > > On 2017-12-22 08:15, Sergey Beryozkin <[email protected]> wrote: > > It is annotated with CXF @Provider annotation - should be picked up by > > the CXF CDI extension > > > > Sergey > > On 22/12/17 13:07, John D. Ament wrote: > > > I'm trying to finish up testing CDI injection of Context objects. The one > > > area I'm struggling with is the automatic registration of this feature. I > > > added a dependency on OpenTracing, just to confirm that injection via CDI > > > works (and to be honest, this is one of my use cases, working with > > > tracing). However, it seems that this feature isn't automatically > > > registered via CDI. Is there something I have to do to make it work? > > > > > > John > > > > > >
