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 QueryMethods exposed by the
repository.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturnsEntityInformationthe repository factory is using.PersistentEntity<?,?> Returns thePersistentEntitymanaged by the underlying repository.Returns allQueryMethods declared for that repository.Returns theRepositoryInformationto determine meta-information about the repository being used.
-
Method Details
-
getEntityInformation
EntityInformation<T,ID> getEntityInformation()ReturnsEntityInformationthe repository factory is using.- Returns:
-
getRepositoryInformation
RepositoryInformation getRepositoryInformation()Returns theRepositoryInformationto determine meta-information about the repository being used.- Returns:
-
getPersistentEntity
PersistentEntity<?,?> getPersistentEntity()Returns thePersistentEntitymanaged by the underlying repository. Can be null in case the underlying persistence mechanism does not expose aMappingContext.- Returns:
-
getQueryMethods
List<QueryMethod> getQueryMethods()Returns allQueryMethods declared for that repository.- Returns:
-