@Deprecated @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @EnableDubboConfig @DubboComponentScan public @interface EnableDubbo
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
multipleConfig
Deprecated.
It indicates whether
AbstractConfig binding to multiple Spring Beans. |
Class<?>[] |
scanBasePackageClasses
Deprecated.
Type-safe alternative to
scanBasePackages() for specifying the packages to
scan for annotated @Service classes. |
String[] |
scanBasePackages
Deprecated.
Base packages to scan for annotated @Service classes.
|
@AliasFor(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=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=EnableDubboConfig.class, attribute="multiple") public abstract boolean multipleConfig
AbstractConfig binding to multiple Spring Beans.falseEnableDubboConfig.multiple()Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.