@Deprecated @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @EnableDubboConfig @CompatibleDubboComponentScan 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=CompatibleDubboComponentScan.class, attribute="basePackages") public abstract String[] scanBasePackages
Use scanBasePackageClasses() for a type-safe alternative to String-based
package names.
CompatibleDubboComponentScan.basePackages()@AliasFor(annotation=CompatibleDubboComponentScan.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.CompatibleDubboComponentScan.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–2019 The Apache Software Foundation. All rights reserved.