@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Import(value=CqlerScannerRegistrar.class) public @interface CqlerScan
| 限定符和类型 | 可选元素和说明 |
|---|---|
Class<?>[] |
basePackageClasses
Type-safe alternative to
basePackages() for specifying the packages
to scan for annotated components. |
String[] |
basePackages
Base packages to scan for MyBatis interfaces.
|
Class<? extends org.springframework.beans.factory.support.BeanNameGenerator> |
nameGenerator
The
BeanNameGenerator class to be used for naming detected components
within the Spring container. |
String[] |
value
Alias for the
basePackages() attribute. |
public abstract String[] value
basePackages() attribute. Allows for more concise
annotation declarations.public abstract String[] basePackages
public abstract Class<?>[] basePackageClasses
basePackages() for specifying the packages
to scan for annotated components. The package of each class specified will be scanned.
Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.
public abstract Class<? extends org.springframework.beans.factory.support.BeanNameGenerator> nameGenerator
BeanNameGenerator class to be used for naming detected components
within the Spring container.Copyright © 2017. All rights reserved.