Java 类org.springframework.boot.autoconfigure.session.SessionAutoConfiguration 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:FilterOrderingIntegrationTests.java   
private void load() {
    this.context = new AnnotationConfigEmbeddedWebApplicationContext();
    EnvironmentTestUtils.addEnvironment(this.context,
            "spring.session.store-type=hash-map");
    this.context.register(MockEmbeddedServletContainerConfiguration.class,
            TestRedisConfiguration.class, WebMvcAutoConfiguration.class,
            ServerPropertiesAutoConfiguration.class, SecurityAutoConfiguration.class,
            SessionAutoConfiguration.class,
            HttpMessageConvertersAutoConfiguration.class,
            PropertyPlaceholderAutoConfiguration.class,
            HttpEncodingAutoConfiguration.class);
    this.context.refresh();
}
项目:spring-boot-concourse    文件:FilterOrderingIntegrationTests.java   
private void load() {
    this.context = new AnnotationConfigEmbeddedWebApplicationContext();
    EnvironmentTestUtils.addEnvironment(this.context,
            "spring.session.store-type=hash-map");
    this.context.register(MockEmbeddedServletContainerConfiguration.class,
            TestRedisConfiguration.class, WebMvcAutoConfiguration.class,
            ServerPropertiesAutoConfiguration.class, SecurityAutoConfiguration.class,
            SessionAutoConfiguration.class,
            HttpMessageConvertersAutoConfiguration.class,
            PropertyPlaceholderAutoConfiguration.class,
            HttpEncodingAutoConfiguration.class);
    this.context.refresh();
}