@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Import(value=CosmosRepositoriesRegistrar.class) public @interface EnableCosmosRepositories
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?>[] |
basePackageClasses
To set base package class
|
String[] |
basePackages
To set base packages
|
boolean |
considerNestedRepositories
To set if consider nested repositories
|
String |
cosmosTemplateRef
Configures the name of the
CosmosTemplate bean to be used with the repositories detected. |
org.springframework.context.annotation.ComponentScan.Filter[] |
excludeFilters
To exclude filters
|
org.springframework.context.annotation.ComponentScan.Filter[] |
includeFilters
To include filters
|
String |
namedQueriesLocation
To set the named query location
|
org.springframework.data.repository.query.QueryLookupStrategy.Key |
queryLookupStrategy
To set query look up strategy
|
Class<?> |
repositoryBaseClass
To set base class of repo
|
Class<?> |
repositoryFactoryBeanClass
To set factory bean class of repo
|
String |
repositoryImplementationPostfix
To set repo Implement postfix
|
String[] |
value
To set repo value
|
public abstract String[] value
public abstract String[] basePackages
public abstract Class<?>[] basePackageClasses
public abstract org.springframework.context.annotation.ComponentScan.Filter[] includeFilters
public abstract org.springframework.context.annotation.ComponentScan.Filter[] excludeFilters
public abstract String repositoryImplementationPostfix
public abstract String namedQueriesLocation
public abstract org.springframework.data.repository.query.QueryLookupStrategy.Key queryLookupStrategy
public abstract Class<?> repositoryFactoryBeanClass
public abstract Class<?> repositoryBaseClass
public abstract boolean considerNestedRepositories
public abstract String cosmosTemplateRef
CosmosTemplate bean to be used with the repositories detected.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.