@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class) @ConditionalOnMissingBean(value={org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor.class,org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.class}) @ConditionalOnMissingFilterBean(value=org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.class) @ConditionalOnProperty(prefix="spring.jpa", name="open-in-view", havingValue="true", matchIfMissing=true) protected static class JpaBaseConfiguration.JpaWebConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
JpaWebConfiguration(JpaProperties jpaProperties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor |
openEntityManagerInViewInterceptor() |
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
openEntityManagerInViewInterceptorConfigurer(org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor interceptor) |
protected JpaWebConfiguration(JpaProperties jpaProperties)
@Bean public org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor openEntityManagerInViewInterceptor()
@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer openEntityManagerInViewInterceptorConfigurer(org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor interceptor)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.