注释类型 EnableDubbo
-
@Deprecated @Target(TYPE) @Retention(RUNTIME) @Inherited @Documented @EnableDubboConfig @DubboComponentScan public @interface EnableDubbo
已过时。
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 booleanmultipleConfig已过时。It indicates whetherAbstractConfigbinding to multiple Spring Beans.Class<?>[]scanBasePackageClasses已过时。Type-safe alternative toscanBasePackages()for specifying the packages to scan for annotated @Service classes.String[]scanBasePackages已过时。Base packages to scan for annotated @Service classes.
-
-
-
元素详细资料
-
scanBasePackages
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackages") String[] scanBasePackages
已过时。Base packages to scan for annotated @Service classes.Use
scanBasePackageClasses()for a type-safe alternative to String-based package names.- 返回:
- the base packages to scan
- 另请参阅:
DubboComponentScan.basePackages()
- 默认值:
- {}
-
-
-
scanBasePackageClasses
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackageClasses") Class<?>[] scanBasePackageClasses
已过时。Type-safe alternative toscanBasePackages()for specifying the packages to scan for annotated @Service classes. The package of each class specified will be scanned.- 返回:
- classes from the base packages to scan
- 另请参阅:
DubboComponentScan.basePackageClasses()
- 默认值:
- {}
-
-
-
multipleConfig
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig.class, attribute="multiple") boolean multipleConfig
已过时。It indicates whetherAbstractConfigbinding to multiple Spring Beans.- 返回:
- the default value is
false - 另请参阅:
EnableDubboConfig.multiple()
- 默认值:
- false
-
-