Hi
On 19/04/12 16:40, yann777 wrote:
Hello,
I am exposing a web service using CXFNonSpringJaxrsServlet configuration.
Inside my web service, I would like to access bus instance information (like
interceptors, the bus instance itself ) for that web service implementation.
How can I have access to this information programmatically? Every
explanation or hints or pointer to documentation would be warmly welcomed,
because I already spent a lot of time looking for it.
Perhaps you can override CXFNonSpringJaxrsServlet's getBus() method,
that will give a reference to the bus. Actually, probably better
override its init method, delegate to the super-class and then do
getBus() in the end, that would return a bus with all the interceptors
set on it
HTH, Sergey
Thanks a lot, regards
Yann
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXFNonSpringJaxrsServlet-Bus-retrieval-question-tp5652107p5652107.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com