Spring Data Commons

org.springframework.data.repository.config
Class RepositoryConfigurationSourceSupport

java.lang.Object
  extended by org.springframework.data.repository.config.RepositoryConfigurationSourceSupport
All Implemented Interfaces:
RepositoryConfigurationSource
Direct Known Subclasses:
AnnotationRepositoryConfigurationSource, XmlRepositoryConfigurationSource

public abstract class RepositoryConfigurationSourceSupport
extends Object
implements RepositoryConfigurationSource

Base class to implement RepositoryConfigurationSources.

Author:
Oliver Gierke

Field Summary
protected static String DEFAULT_REPOSITORY_IMPL_POSTFIX
           
 
Constructor Summary
RepositoryConfigurationSourceSupport()
           
 
Method Summary
 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 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.
 
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
getBasePackages, getNamedQueryLocation, getQueryLookupStrategyKey, getRepositoryFactoryBeanName, getRepositoryImplementationPostfix, getSource
 

Field Detail

DEFAULT_REPOSITORY_IMPL_POSTFIX

protected static final String DEFAULT_REPOSITORY_IMPL_POSTFIX
See Also:
Constant Field Values
Constructor Detail

RepositoryConfigurationSourceSupport

public RepositoryConfigurationSourceSupport()
Method Detail

getCandidates

public Collection<String> getCandidates(ResourceLoader loader)
Description copied from interface: RepositoryConfigurationSource
Returns the fully-qualified names of the repository interfaces to create repository instances for.

Specified by:
getCandidates in interface RepositoryConfigurationSource
Returns:

getExcludeFilters

protected Iterable<TypeFilter> getExcludeFilters()
Return the TypeFilters to define which types to exclude when scanning for repositories. Default implementation returns an empty collection.

Returns:
must not be null.

getIncludeFilters

protected Iterable<TypeFilter> getIncludeFilters()
Return the TypeFilters to define which types to include when scanning for repositories. Default implementation returns an empty collection.

Returns:
must not be null.

Spring Data Commons

Copyright © 2012. All Rights Reserved.