public abstract class RepositoryConfigurationSourceSupport extends Object implements RepositoryConfigurationSource
RepositoryConfigurationSources.| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_REPOSITORY_IMPL_POSTFIX |
| Constructor and Description |
|---|
RepositoryConfigurationSourceSupport(Environment environment)
Creates a new
RepositoryConfigurationSourceSupport with the given environment. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getBasePackages, getNamedQueryLocation, getQueryLookupStrategyKey, getRepositoryBaseClassName, getRepositoryFactoryBeanName, getRepositoryImplementationPostfix, getSource, usesExplicitFiltersprotected static final String DEFAULT_REPOSITORY_IMPL_POSTFIX
public RepositoryConfigurationSourceSupport(Environment environment)
RepositoryConfigurationSourceSupport with the given environment.environment - must not be null.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()
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.