Interface RepositoryFactoryInformation<T,ID>
- All Known Implementing Classes:
RepositoryFactoryBeanSupport
,TransactionalRepositoryFactoryBeanSupport
public interface RepositoryFactoryInformation<T,ID>
Interface for components that can provide meta-information about a repository factory, the backing
EntityInformation
and RepositoryInformation
as well as the QueryMethod
s exposed by the
repository.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturnsEntityInformation
the repository factory is using.PersistentEntity<?,
?> Returns thePersistentEntity
managed by the underlying repository.Returns allQueryMethod
s declared for that repository.Returns theRepositoryInformation
to determine meta-information about the repository being used.
-
Method Details
-
getEntityInformation
EntityInformation<T,ID> getEntityInformation()ReturnsEntityInformation
the repository factory is using.- Returns:
-
getRepositoryInformation
RepositoryInformation getRepositoryInformation()Returns theRepositoryInformation
to determine meta-information about the repository being used.- Returns:
-
getPersistentEntity
PersistentEntity<?,?> getPersistentEntity()Returns thePersistentEntity
managed by the underlying repository. Can be null in case the underlying persistence mechanism does not expose aMappingContext
.- Returns:
-
getQueryMethods
List<QueryMethod> getQueryMethods()Returns allQueryMethod
s declared for that repository.- Returns:
-