类 JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration
- java.lang.Object
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
- org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration protected static class JpaBaseConfiguration.JpaWebConfiguration.JpaWebMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
构造器概要
构造器 限定符 构造器 说明 protected
JpaWebMvcConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
openEntityManagerInViewInterceptor()
从类继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
构造器详细资料
JpaWebMvcConfiguration
protected JpaWebMvcConfiguration()
方法详细资料
openEntityManagerInViewInterceptor
@Bean public org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor openEntityManagerInViewInterceptor()
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- 指定者:
addInterceptors
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
- 覆盖:
addInterceptors
在类中org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter