@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Import(value=MongoDaoScannerRegistrar.class) public @interface MongoDaoScan
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends Annotation> |
annotationClass |
Class<?>[] |
basePackageClasses
Type-safe alternative to
basePackages() for specifying the packages
to scan for annotated components. |
String[] |
basePackages
Base packages to scan for mongo interfaces.
|
Class<? extends MongoDaoFactoryBean> |
factoryBean |
Class<?> |
markerInterface |
String |
mongoDaoRepositoryRef |
String |
mongoSessionFactoryRef |
String |
mongoSessionTemplateRef |
Class<? extends org.springframework.beans.factory.support.BeanNameGenerator> |
nameGenerator |
String[] |
properties |
String[] |
value
Alias for the
basePackages() attribute. |
public abstract String[] value
basePackages() attribute. Allows for more concise
com.github.aidensuen.spring.annotation declarationspublic 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
public abstract Class<? extends Annotation> annotationClass
public abstract Class<?> markerInterface
public abstract String mongoSessionTemplateRef
public abstract String mongoSessionFactoryRef
public abstract Class<? extends MongoDaoFactoryBean> factoryBean
public abstract String mongoDaoRepositoryRef
public abstract String[] properties
Copyright © 2019. All rights reserved.