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 theRepositoryFragmentsContributorthat is used to contribute additional fragments based on the repository declaration.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:
-
getRepositoryFragmentsContributor
RepositoryFragmentsContributor getRepositoryFragmentsContributor()Returns theRepositoryFragmentsContributorthat is used to contribute additional fragments based on the repository declaration.- Returns:
- Since:
- 4.0
-
getPersistentEntity
PersistentEntity<?,?> getPersistentEntity()Returns thePersistentEntitymanaged by the underlying repository. Can be null in case the underlying persistence mechanism does not expose aMappingContext.- Returns:
-
getQueryMethods
-