Looking at
http://cxf.apache.org/docs/jax-rs-and-jax-ws.html "Dealing with context", a
MessageContext is @Resource injected into the example.
I guess this is a
http://cxf.apache.org/javadoc/latest-3.0.x/org/apache/cxf/jaxrs/ext/MessageContext.html
with it's imp:
http://cxf.apache.org/javadoc/latest-3.0.x/org/apache/cxf/jaxrs/ext/MessageContextImpl.html
.
However i don't see a default constructor for it (it requires a Message),
and such I don't understand how it gets injected in the example - am I
missing out of something?
I need to create a utility which get's access to the CXF internal contexts,
to get access to ResourceInfo, http headers and so on.




-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to