@Configuration @ConditionalOnExpression(value="true == @moduleSettings.openInView and @moduleSettings.persistenceContextInView.handler.name() == \'INTERCEPTOR\'") public static class HibernatePersistenceContextInViewConfiguration.OpenSessionFactoryInViewInterceptorConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.core.Ordered
| Constructor and Description |
|---|
OpenSessionFactoryInViewInterceptorConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
int |
getOrder() |
org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor |
openSessionInViewInterceptor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic OpenSessionFactoryInViewInterceptorConfiguration()
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor openSessionInViewInterceptor()
Copyright © 2020. All rights reserved.