* @Context.
*
* @param provider
*/
private void injectContext(Object provider) {
WebRequest requestProxy = WebRequestProxy.createProxy();
try {
InjectionUtilities.injectFields(requestProxy, null, JaxRsHandler.providers, provider);
} catch (HandlerException ex) {
logger.debug("Exception {}", ex);
throw new RuntimeException(ex);