Package org.springframework.data.repository.core.support
@NonNullApi
package org.springframework.data.repository.core.support
Base classes to implement repositories for various data stores.
-
ClassDescriptionBase class for implementations of
EntityInformation.Base class forRepositoryMetadataimplementations.RepositoryMetadataimplementation inspecting the given repository interface for aRepositoryDefinitionannotation.Default implementation to discover CRUD methods based on the givenRepositoryMetadata.Default implementation ofRepositoryMetadata.Class containing value objects providing information about the current repository method invocation.Useful base class to implement customEntityInformations and delegate execution of standard methods fromEntityInformationto a special implementation.RepositoryProxyPostProcessorto register aMethodInterceptorto interceptCrudRepository.save(Object)andCrudRepository.delete(Object)methods and publish events potentially exposed via a method annotated withDomainEvents.Exception thrown during repository creation or repository method invocation when invoking a repository method on a fragment without an implementation.Exception thrown during repository creation when a the repository has custom methods that are not backed by a fragment or if no fragment could be found for a repository method invocation.Interceptor enforcing required return value and method parameter constraints declared on repository query methods.Strategy interface providingpredicatesto resolve a method called on a composite to its implementation method.Value object representing an invokedMethod.A method predicate to be applied on theMethodLookup.InvokedMethodandmethod candidate.RepositoryProxyPostProcessorto register aPersistenceExceptionTranslationInterceptoron the repository proxy.EntityInformationimplementation that uses aPersistentEntityto obtain id type information and uses aIdentifierAccessorto access the property value if requested.NamedQueriesimplementation backed by aPropertiesinstance.QueryCreationListener<T extends RepositoryQuery>Callback for listeners that want to execute functionality onRepositoryQuerycreation.Base class for repository factories to use reactive support.Composite implementation to back repository method implementations.Value object representing an ordered list offragments.Adapter for Spring'sFactoryBeaninterface to allow easy setup of repository factories via Spring configuration.Callback interface that can be used to to customize arepository factory.Interface for components that can provide meta-information about a repository factory, the backingEntityInformationandRepositoryInformationas well as theQueryMethods exposed by the repository.Factory bean to create instances of a given repository interface.Value object representing a repository fragment.Factory bean for creation ofRepositoryComposition.RepositoryFragments.Marker for repository fragment implementation that intend to access repository method invocation metadata.Interface to be implemented by listeners that want to be notified upon repository method invocation.Value object capturing the actual invocation.Callback interface used during repository proxy creation.MethodInterceptordetecting whether a transaction is already running and exposing that fact viaSurroundingTransactionDetectorMethodInterceptor.isSurroundingTransactionActive().Extension ofRepositoryFactoryBeanSupportto add transactional capabilities to the repository proxy.Exception thrown during repository creation when a well-known fragment interface is not supported by the repository factory.