Class JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Enclosing class:
- JpaBaseConfiguration.JpaWebConfiguration
@Configuration protected static class JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Constructor Summary
Constructors Modifier Constructor Description protected
JpaWebMvcConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
openEntityManagerInViewInterceptor()
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
Constructor Detail
JpaWebMvcConfiguration
protected JpaWebMvcConfiguration()
Method Detail
openEntityManagerInViewInterceptor
@Bean public org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor openEntityManagerInViewInterceptor()
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
- Overrides:
addInterceptors
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter