Class DelegatingWsConfiguration
java.lang.Object
org.springframework.ws.config.annotation.WsConfigurationSupport
org.springframework.ws.config.annotation.DelegatingWsConfiguration
A subclass 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addArgumentResolvers
(List<MethodArgumentResolver> argumentResolvers) Configure theMethodArgumentResolver
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) Configure theMethodReturnValueHandler
s to use in addition to the ones registered by default.void
setConfigurers
(List<WsConfigurer> configurers) Deprecated, for removal: This API element is subject to removal in a future version.void
setConfigurers
(org.springframework.beans.factory.ObjectProvider<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
@Deprecated(since="4.0.12", forRemoval=true) public void setConfigurers(List<WsConfigurer> configurers) Deprecated, for removal: This API element is subject to removal in a future version. -
setConfigurers
@Autowired public void setConfigurers(org.springframework.beans.factory.ObjectProvider<WsConfigurer> configurers) -
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
Configure theMethodArgumentResolver
s to use in addition to the ones registered by default.- Overrides:
addArgumentResolvers
in classWsConfigurationSupport
- Parameters:
argumentResolvers
- the list of resolvers; initially the default resolvers
-
addReturnValueHandlers
Description copied from class:WsConfigurationSupport
Configure theMethodReturnValueHandler
s to use in addition to the ones registered by default.- Overrides:
addReturnValueHandlers
in classWsConfigurationSupport
- Parameters:
returnValueHandlers
- the list of handlers; initially the default handlers
-