public abstract class RepositoryConfigurationSourceSupport extends Object implements RepositoryConfigurationSource
RepositoryConfigurationSource
s.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<String> |
getCandidates(ResourceLoader loader)
Returns the fully-qualified names of the repository interfaces to create repository instances for.
|
protected Iterable<TypeFilter> |
getExcludeFilters()
Return the
TypeFilter s to define which types to exclude when scanning for repositories. |
protected Iterable<TypeFilter> |
getIncludeFilters()
Return the
TypeFilter s to define which types to include when scanning for repositories. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasePackages, getNamedQueryLocation, getQueryLookupStrategyKey, getRepositoryFactoryBeanName, getRepositoryImplementationPostfix, getSource
protected static final String DEFAULT_REPOSITORY_IMPL_POSTFIX
public RepositoryConfigurationSourceSupport(Environment environment)
RepositoryConfigurationSourceSupport
with the given environment. Defaults to a plain
StandardEnvironment
in case the given argument is null.environment
- nullable, defaults to a StandardEnvironment
.public Collection<String> getCandidates(ResourceLoader loader)
RepositoryConfigurationSource
getCandidates
in interface RepositoryConfigurationSource
protected Iterable<TypeFilter> getExcludeFilters()
TypeFilter
s to define which types to exclude when scanning for repositories. Default
implementation returns an empty collection.protected Iterable<TypeFilter> getIncludeFilters()
TypeFilter
s to define which types to include when scanning for repositories. Default
implementation returns an empty collection.Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.