@EnableWebMvc @Configuration @ComponentScan(basePackages="com.edorasware", useDefaultFilters=false, includeFilters=) public class ApiDispatcherConfiguration extends BaseDispatcherConfiguration implements BaseConfiguration
BaseConfiguration.ClusterDisabledCondition, BaseConfiguration.ClusterEnabledCondition, BaseConfiguration.PROPERTY_SOURCE_LOCATIONS
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CONTROLLER_ADVICE_ORDER
Default
Order value for the default ControllerAdvice . |
ADDONS_CONFIGURATION_COMPONENT_SCAN_PACKAGE, CLUSTER_ENABLE_PROPERTY_NAME, CONFIGURATION_ORDER_DELTA, CUSTOM_CONFIGURATION_COMPONENT_SCAN_PACKAGE, DEFAULT_WEB_APPLICATION_INITIALIZER_ORDER, ONE_CONFIGURATION_ORDER, PROPERTY_SOURCES_CUSTOM_APPLICATION_CONTEXT_INITIALIZER_ORDER, SECURITY_CONFIGURATION_ORDER, SECURITY_WEB_APPLICATION_INITIALIZER_ORDER, SESSION_WEB_APPLICATION_INITIALIZER_ORDER, VIS_CONFIGURATION_ORDER
Constructor and Description |
---|
ApiDispatcherConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultExceptionControllerAdvice |
controllerAdvice(org.springframework.context.MessageSource messageSource) |
addInterceptors, configureMessageConverters
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfigurationCustomisations, getObjectOrDefault
public static final int DEFAULT_CONTROLLER_ADVICE_ORDER
Default Order
value for the default ControllerAdvice
.
@Bean @Order(value=100) public DefaultExceptionControllerAdvice controllerAdvice(org.springframework.context.MessageSource messageSource)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.