@Deprecated @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @EnableDubboConfig @DubboComponentScan public @interface EnableDubbo
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
multipleConfig
已过时。
It indicates whether
AbstractConfig binding to multiple Spring Beans. |
Class<?>[] |
scanBasePackageClasses
已过时。
Type-safe alternative to
scanBasePackages() for specifying the packages to
scan for annotated @Service classes. |
String[] |
scanBasePackages
已过时。
Base packages to scan for annotated @Service classes.
|
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackages") public abstract String[] scanBasePackages
Use scanBasePackageClasses() for a type-safe alternative to String-based
package names.
DubboComponentScan.basePackages()@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackageClasses") public abstract Class<?>[] scanBasePackageClasses
scanBasePackages() for specifying the packages to
scan for annotated @Service classes. The package of each class specified will be
scanned.DubboComponentScan.basePackageClasses()@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig.class, attribute="multiple") public abstract boolean multipleConfig
AbstractConfig binding to multiple Spring Beans.falseEnableDubboConfig.multiple()Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.