Java 类org.glassfish.jersey.server.TracingConfig 实例源码

项目:XBDD    文件:XbddApplication.java   
public XbddApplication() {
    packages(getClass().getPackage().getName());

    // MVC feature
    property(JspMvcFeature.TEMPLATE_BASE_PATH, "/WEB-INF/jsp");
    register(JspMvcFeature.class);
    register(MultiPartFeature.class);

    // Logging.
    // register(LoggingFilter.class);

    property(ServerProperties.TRACING, TracingConfig.ON_DEMAND.name());

    register(new AbstractBinder() {
        @Override
        protected void configure() {
            bindFactory(ServletContextMongoClientFactory.class).to(MongoDBAccessor.class).in(Singleton.class);
        }
    });
}
项目:jersey-skeleton    文件:WebConfig.java   
public WebConfig() {
    packages("fr.maugern.skeleton.web");
    register(JspMvcFeature.class);
    registerSecurity();
    // Tracing support.
    property(ServerProperties.TRACING, TracingConfig.ON_DEMAND.name());
}
项目:ernest    文件:MyApplication.java   
public MyApplication() {
    // Resources.
    packages(Bookstore.class.getPackage().getName());

    // MVC.
    register(JspMvcFeature.class);

    // Logging.
    register(LoggingFilter.class);

    // Tracing support.
    property(ServerProperties.TRACING, TracingConfig.ON_DEMAND.name());
}