批注接口 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.
- 从以下版本开始:
- 2.3.0
- 作者:
- Dmytro Nosan
-
可选元素概要
可选元素修饰符和类型可选元素说明boolean
If aWebServiceTemplate
bean should be registered.
-
元素详细资料
-
registerWebServiceTemplate
boolean registerWebServiceTemplateIf aWebServiceTemplate
bean should be registered. Defaults tofalse
with the assumption that theWebServiceTemplateBuilder
will be used.- 返回:
- if a
WebServiceTemplate
bean should be added.
- 默认值:
false
-