public interface RepositoryConfigurationSource
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String name)
Returns the value for the
String attribute with the given name. |
Iterable<String> |
getBasePackages()
Returns the base packages the repository interfaces shall be found under.
|
Collection<BeanDefinition> |
getCandidates(ResourceLoader loader)
Returns the source
BeanDefinition s of the repository interfaces to create repository instances for. |
Iterable<TypeFilter> |
getExcludeFilters()
Return the
TypeFilter s to define which types to exclude when scanning for repositories or repository
implementations. |
String |
getNamedQueryLocation() |
Object |
getQueryLookupStrategyKey()
Returns the
QueryLookupStrategy.Key to define how query methods shall be resolved. |
String |
getRepositoryBaseClassName()
Returns the name of the repository base class to be used or null if the store specific defaults shall be
applied.
|
String |
getRepositoryFactoryBeanName()
Deprecated.
as of 1.11 in favor of using a dedicated repository base class name, see
getRepositoryBaseClassName() . |
String |
getRepositoryImplementationPostfix()
Returns the configured postfix to be used for looking up custom implementation classes.
|
Object |
getSource()
Returns the actual source object that the configuration originated from.
|
boolean |
usesExplicitFilters()
Returns whether the configuration uses explicit filtering to scan for repository types.
|
Object getSource()
Iterable<String> getBasePackages()
Object getQueryLookupStrategyKey()
QueryLookupStrategy.Key
to define how query methods shall be resolved.String getRepositoryImplementationPostfix()
String getNamedQueryLocation()
@Deprecated String getRepositoryFactoryBeanName()
getRepositoryBaseClassName()
.FactoryBean
to actually create repository instances.String getRepositoryBaseClassName()
Collection<BeanDefinition> getCandidates(ResourceLoader loader)
BeanDefinition
s of the repository interfaces to create repository instances for.loader
- String getAttribute(String name)
String
attribute with the given name. The name is expected to be handed in
camel-case.name
- must not be null or empty.boolean usesExplicitFilters()
Iterable<TypeFilter> getExcludeFilters()
TypeFilter
s to define which types to exclude when scanning for repositories or repository
implementations.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.