@Deprecated @Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=CompatibleDubboComponentScanRegistrar.class) public @interface CompatibleDubboComponentScan
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
basePackageClasses
Deprecated.
Type-safe alternative to
basePackages() for specifying the packages to
scan for annotated @Service classes. |
String[] |
basePackages
Deprecated.
Base packages to scan for annotated @Service classes.
|
String[] |
value
Deprecated.
Alias for the
basePackages() attribute. |
public abstract String[] value
basePackages() attribute. Allows for more concise annotation
declarations e.g.: @CompatibleDubboComponentScan("org.my.pkg") instead of
@CompatibleDubboComponentScan(basePackages="org.my.pkg").public abstract String[] basePackages
value() is an
alias for (and mutually exclusive with) this attribute.
Use basePackageClasses() for a type-safe alternative to String-based
package names.
public abstract Class<?>[] basePackageClasses
basePackages() for specifying the packages to
scan for annotated @Service classes. The package of each class specified will be
scanned.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.