|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.repository.config.RepositoryConfigurationSourceSupport
public abstract class RepositoryConfigurationSourceSupport
Base class to implement RepositoryConfigurationSources.
| Field Summary | |
|---|---|
protected static String |
DEFAULT_REPOSITORY_IMPL_POSTFIX
|
| Constructor Summary | |
|---|---|
RepositoryConfigurationSourceSupport(Environment environment)
Creates a new RepositoryConfigurationSourceSupport with the given environment. |
|
| Method Summary | |
|---|---|
Collection<BeanDefinition> |
getCandidates(ResourceLoader loader)
Returns the source BeanDefinitions of the repository interfaces to create repository instances for. |
protected Iterable<TypeFilter> |
getExcludeFilters()
Return the TypeFilters to define which types to exclude when scanning for repositories. |
protected Iterable<TypeFilter> |
getIncludeFilters()
Return the TypeFilters to define which types to include when scanning for repositories. |
boolean |
shouldConsiderNestedRepositories()
Returns whether we should consider nested repositories, i.e. repository interface definitions nested in other classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.data.repository.config.RepositoryConfigurationSource |
|---|
getAttribute, getBasePackages, getNamedQueryLocation, getQueryLookupStrategyKey, getRepositoryFactoryBeanName, getRepositoryImplementationPostfix, getSource |
| Field Detail |
|---|
protected static final String DEFAULT_REPOSITORY_IMPL_POSTFIX
| Constructor Detail |
|---|
public RepositoryConfigurationSourceSupport(Environment environment)
RepositoryConfigurationSourceSupport with the given environment. Defaults to a plain
StandardEnvironment in case the given argument is null.
environment - must not be null.| Method Detail |
|---|
public Collection<BeanDefinition> getCandidates(ResourceLoader loader)
RepositoryConfigurationSourceBeanDefinitions of the repository interfaces to create repository instances for.
getCandidates in interface RepositoryConfigurationSourceprotected Iterable<TypeFilter> getExcludeFilters()
TypeFilters to define which types to exclude when scanning for repositories. Default
implementation returns an empty collection.
protected Iterable<TypeFilter> getIncludeFilters()
TypeFilters to define which types to include when scanning for repositories. Default
implementation returns an empty collection.
public boolean shouldConsiderNestedRepositories()
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||