Annotation Interface NacosInjected
@Target({CONSTRUCTOR,FIELD,METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
public @interface NacosInjected
An annotation to inject
ConfigService or NamingService instance into the target Bean.- 从以下版本开始:
- 0.2.1
- 作者:
- Mercy
- 另请参阅:
ConfigService,NamingService,NacosProperties
-
可选元素概要
可选元素修饰符和类型可选元素说明TheNacosPropertiesattribute, If not specified, it will use global Nacos Properties.
-
元素详细资料
-
properties
NacosProperties propertiesTheNacosPropertiesattribute, If not specified, it will use global Nacos Properties.- 返回:
- the default value is
NacosProperties
- 默认值:
- @com.alibaba.nacos.api.annotation.NacosProperties
-