|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.repository.config.RepositoryConfigurationSourceSupport org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource
public class AnnotationRepositoryConfigurationSource
Annotation based RepositoryConfigurationSource
.
Field Summary |
---|
Fields inherited from class org.springframework.data.repository.config.RepositoryConfigurationSourceSupport |
---|
DEFAULT_REPOSITORY_IMPL_POSTFIX |
Constructor Summary | |
---|---|
AnnotationRepositoryConfigurationSource(AnnotationMetadata metadata,
Class<? extends Annotation> annotation)
Creates a new AnnotationRepositoryConfigurationSource from the given AnnotationMetadata and
annotation. |
Method Summary | |
---|---|
AnnotationAttributes |
getAttributes()
Returns the AnnotationAttributes of the annotation configured. |
Iterable<String> |
getBasePackages()
Returns the base packages the repository interfaces shall be found under. |
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. |
String |
getNamedQueryLocation()
|
Object |
getQueryLookupStrategyKey()
Returns the QueryLookupStrategy.Key to define how query methods shall be resolved. |
String |
getRepositoryFactoryBeanName()
Returns the name of the class of the FactoryBean to actually create repository instances. |
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. |
Methods inherited from class org.springframework.data.repository.config.RepositoryConfigurationSourceSupport |
---|
getCandidates |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationRepositoryConfigurationSource(AnnotationMetadata metadata, Class<? extends Annotation> annotation)
AnnotationRepositoryConfigurationSource
from the given AnnotationMetadata
and
annotation.
metadata
- must not be null.annotation
- must not be null.Method Detail |
---|
public Iterable<String> getBasePackages()
RepositoryConfigurationSource
public Object getQueryLookupStrategyKey()
RepositoryConfigurationSource
QueryLookupStrategy.Key
to define how query methods shall be resolved.
public String getNamedQueryLocation()
public String getRepositoryImplementationPostfix()
RepositoryConfigurationSource
public Object getSource()
RepositoryConfigurationSource
protected Iterable<TypeFilter> getIncludeFilters()
RepositoryConfigurationSourceSupport
TypeFilter
s to define which types to include when scanning for repositories. Default
implementation returns an empty collection.
getIncludeFilters
in class RepositoryConfigurationSourceSupport
protected Iterable<TypeFilter> getExcludeFilters()
RepositoryConfigurationSourceSupport
TypeFilter
s to define which types to exclude when scanning for repositories. Default
implementation returns an empty collection.
getExcludeFilters
in class RepositoryConfigurationSourceSupport
public String getRepositoryFactoryBeanName()
RepositoryConfigurationSource
FactoryBean
to actually create repository instances.
public AnnotationAttributes getAttributes()
AnnotationAttributes
of the annotation configured.
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |