@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class,org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor.class}) @ConditionalOnMissingBean(value=org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor.class) @ConditionalOnProperty(prefix="spring.data.neo4j", name="open-in-view", havingValue="true", matchIfMissing=true) protected static class Neo4jDataAutoConfiguration.Neo4jWebConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
Neo4jWebConfiguration(Neo4jProperties neo4jProperties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor |
neo4jOpenSessionInViewInterceptor() |
WebMvcConfigurer |
neo4jOpenSessionInViewInterceptorConfigurer(org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor interceptor) |
protected Neo4jWebConfiguration(Neo4jProperties neo4jProperties)
@Bean public org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor neo4jOpenSessionInViewInterceptor()
@Bean public WebMvcConfigurer neo4jOpenSessionInViewInterceptorConfigurer(org.springframework.data.neo4j.web.support.OpenSessionInViewInterceptor interceptor)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.