>
> 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