// and is passed into the HttpRexsterServer. The SingletonTypeInjectableProvider is responsible for
// pushing that instance into the context.
rc.getSingletons().add(new SingletonTypeInjectableProvider<Context, RexsterApplication>(
RexsterApplication.class, application) {
});
rc.getSingletons().add(new InstrumentedResourceMethodDispatchAdapter(application.getMetricRegistry()));
if (this.debugMode) {
rc.getContainerRequestFilters().add(new LoggingFilter());
rc.getContainerResponseFilters().add(new LoggingFilter());
}