What kind of alternative are you looking for? Adding a setter sounds ok to
me if it is working for you.

Colm.

On Sun, Aug 20, 2017 at 8:08 PM, Isuranga Perera <[email protected]>
wrote:

> Hi,
>
> I'm using CXF SecurityTokenServiceProvider without using CXF transport or
> JAX-WS. But it uses WebServiceContext injection through Resource annotation.
>
> What I did was rewrite the class and added a setter method to set web
> service context.
>
> Apart from that do I have an alternative method to inject
> WebServiceContext to SecurityTokenServiceProvider class.
>
> Best Regards
> Isuranga Perera
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to