Package com.codahale.metrics.jersey

Examples of com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter


            // 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());
            }
View Full Code Here

TOP

Related Classes of com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.