@Override public void postConstruct(Object o) { rci.inject(context.get(), o); } }
@Override public void trace(String message) { context.get().trace(message); }
private WebApplicationContext handleMatchResourceRequest(URI u) { final WebApplicationContext oldContext = (WebApplicationContext)context.get(); final WebApplicationContext newContext = oldContext.createMatchResourceContext(u); context.set(newContext); try { _handleRequest(newContext, newContext.getContainerRequest()); return newContext; } finally { context.set(oldContext); } }
@Override public void postConstruct(Object o) { rci.inject(context.get(), o); } }
@Override public void postConstruct(Object o) { rci.inject(context.get(), o); } }
@Override public void trace(String message) { context.get().trace(message); }
@Override public void trace(String message) { context.get().trace(message); }
private WebApplicationContext handleMatchResourceRequest(URI u) { final WebApplicationContext oldContext = (WebApplicationContext)context.get(); final WebApplicationContext newContext = oldContext.createMatchResourceContext(u); context.set(newContext); try { _handleRequest(newContext, newContext.getContainerRequest()); return newContext; } finally { context.set(oldContext); } }
private WebApplicationContext handleMatchResourceRequest(URI u) { final WebApplicationContext oldContext = (WebApplicationContext)context.get(); final WebApplicationContext newContext = oldContext.createMatchResourceContext(u); context.set(newContext); try { _handleRequest(newContext, newContext.getContainerRequest()); return newContext; } finally { context.set(oldContext); } }