Annotation Interface AutoConfigureWebServiceClient
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@ImportAutoConfiguration
@PropertyMapping("spring.test.webservice.client")
public @interface AutoConfigureWebServiceClient
Annotation that can be applied to a test class to enable and configure
auto-configuration of web service clients.
- Since:
- 2.3.0
- Author:
- Dmytro Nosan
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf aWebServiceTemplatebean should be registered.
-
Element Details
-
registerWebServiceTemplate
boolean registerWebServiceTemplateIf aWebServiceTemplatebean should be registered. Defaults tofalsewith the assumption that theWebServiceTemplateBuilderwill be used.- Returns:
- if a
WebServiceTemplatebean should be added.
- Default:
- false
-