Annotation Type EnableDubbo
@Deprecated
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@EnableDubboConfig
@DubboComponentScan
public @interface EnableDubbo
Deprecated.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDeprecated.It indicates whetherAbstractConfigbinding to multiple Spring Beans.Class<?>[]Deprecated.Type-safe alternative toscanBasePackages()for specifying the packages to scan for annotated @Service classes.String[]Deprecated.Base packages to scan for annotated @Service classes.
-
Element Details
-
scanBasePackages
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackages") String[] scanBasePackagesDeprecated.Base packages to scan for annotated @Service classes.Use
scanBasePackageClasses()for a type-safe alternative to String-based package names.- Returns:
- the base packages to scan
- See Also:
- Default:
{}
-
scanBasePackageClasses
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.DubboComponentScan.class, attribute="basePackageClasses") Class<?>[] scanBasePackageClassesDeprecated.Type-safe alternative toscanBasePackages()for specifying the packages to scan for annotated @Service classes. The package of each class specified will be scanned.- Returns:
- classes from the base packages to scan
- See Also:
- Default:
{}
-
multipleConfig
@AliasFor(annotation=org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig.class, attribute="multiple") boolean multipleConfigDeprecated.It indicates whetherAbstractConfigbinding to multiple Spring Beans.- Returns:
- the default value is
false - See Also:
- Default:
false
-