Class DelegatingWsConfiguration
java.lang.Object
org.springframework.ws.config.annotation.WsConfigurationSupport
org.springframework.ws.config.annotation.DelegatingWsConfiguration
A sub-class of
WsConfigurationSupport
that detects and delegates to all beans of type WsConfigurer
allowing them to customize the configuration provided by WsConfigurationSupport
. This is the class actually
imported by @EnableWs
.- Since:
- 2.2
- Author:
- Arjen Poutsma
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addArgumentResolvers
(List<MethodArgumentResolver> argumentResolvers) Add customMethodArgumentResolver
s to use in addition to the ones registered by default.protected void
addInterceptors
(List<EndpointInterceptor> interceptors) Template method to add endpoint interceptors.protected void
addReturnValueHandlers
(List<MethodReturnValueHandler> returnValueHandlers) Add customMethodReturnValueHandler
s in addition to the ones registered by default.void
setConfigurers
(List<WsConfigurer> configurers) Methods inherited from class org.springframework.ws.config.annotation.WsConfigurationSupport
annotationActionEndpointMapping, defaultMethodEndpointAdapter, getInterceptors, payloadRootAnnotationMethodEndpointMapping, simpleSoapExceptionResolver, soapActionAnnotationMethodEndpointMapping, soapFaultAnnotationExceptionResolver
-
Constructor Details
-
DelegatingWsConfiguration
public DelegatingWsConfiguration()
-
-
Method Details
-
setConfigurers
-
addInterceptors
Description copied from class:WsConfigurationSupport
Template method to add endpoint interceptors. Override this method to add Spring-WS interceptors for pre- and post-processing of endpoint invocation.- Overrides:
addInterceptors
in classWsConfigurationSupport
-
addArgumentResolvers
Description copied from class:WsConfigurationSupport
Add customMethodArgumentResolver
s to use in addition to the ones registered by default.- Overrides:
addArgumentResolvers
in classWsConfigurationSupport
- Parameters:
argumentResolvers
- the list of custom converters; initially an empty list.
-
addReturnValueHandlers
Description copied from class:WsConfigurationSupport
Add customMethodReturnValueHandler
s in addition to the ones registered by default.- Overrides:
addReturnValueHandlers
in classWsConfigurationSupport
- Parameters:
returnValueHandlers
- the list of custom handlers; initially an empty list.
-