Sergey

You have been most helpful. Your original solution of setting a jaxrs.serviceClasses parameter works great. I will use that until your patch described here is presumably released into the next CXF version.

Thanks!

Dan

Sergey Beryozkin wrote:
public VerificationApplication(@Context ServletContext sc) {
               singletons.add(new VerificationResource(sc));
}

should also work, CXF 2.4.0/2.3.4 supports injecting contexts into
Application instances but no constructor injection is supported - that
needs to be fixed

It was a very easy fix, just a matter of removing the duplicate code
and reusing the existing function:

http://svn.apache.org/viewvc?rev=1101399&view=rev

Cheers, Sergey

Reply via email to