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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddArgumentResolvers(List<MethodArgumentResolver> argumentResolvers) Add customMethodArgumentResolvers to use in addition to the ones registered by default.protected voidaddInterceptors(List<EndpointInterceptor> interceptors) Template method to add endpoint interceptors.protected voidaddReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers) Add customMethodReturnValueHandlers in addition to the ones registered by default.voidsetConfigurers(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:WsConfigurationSupportTemplate method to add endpoint interceptors. Override this method to add Spring-WS interceptors for pre- and post-processing of endpoint invocation.- Overrides:
addInterceptorsin classWsConfigurationSupport
-
addArgumentResolvers
Description copied from class:WsConfigurationSupportAdd customMethodArgumentResolvers to use in addition to the ones registered by default.- Overrides:
addArgumentResolversin classWsConfigurationSupport- Parameters:
argumentResolvers- the list of custom converters; initially an empty list.
-
addReturnValueHandlers
Description copied from class:WsConfigurationSupportAdd customMethodReturnValueHandlers in addition to the ones registered by default.- Overrides:
addReturnValueHandlersin classWsConfigurationSupport- Parameters:
returnValueHandlers- the list of custom handlers; initially an empty list.
-