Class GlobalViewElementBuilderContextConfiguration
java.lang.Object
com.foreach.across.modules.web.config.GlobalViewElementBuilderContextConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@ConditionalOnProperty(value="across.web.registerGlobalBuilderContext",
matchIfMissing=true)
@OrderInModule(3)
@Configuration
public class GlobalViewElementBuilderContextConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Responsible for adding the
ViewElementBuilderContextInterceptor
.- Since:
- 2.0.0
- Author:
- Arne Vandamme
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
GlobalViewElementBuilderContextConfiguration
public GlobalViewElementBuilderContextConfiguration()
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
viewElementBuilderContextInterceptor
-