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 forRepositoryMetadata
implementations.RepositoryMetadata
implementation inspecting the given repository interface for aRepositoryDefinition
annotation.Default implementation to discover CRUD methods based on the givenRepositoryMetadata
.Default implementation ofRepositoryMetadata
.Useful base class to implement customEntityInformation
s and delegate execution of standard methods fromEntityInformation
to a special implementation.RepositoryProxyPostProcessor
to register aMethodInterceptor
to 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 providingpredicates
to resolve a method called on a composite to its implementation method.Value object representing an invokedMethod
.A method predicate to be applied on theMethodLookup.InvokedMethod
andmethod candidate
.RepositoryProxyPostProcessor
to register aPersistenceExceptionTranslationInterceptor
on the repository proxy.EntityInformation
implementation that uses aPersistentEntity
to obtain id type information and uses aIdentifierAccessor
to access the property value if requested.NamedQueries
implementation backed by aProperties
instance.QueryCreationListener<T extends RepositoryQuery>Callback for listeners that want to execute functionality onRepositoryQuery
creation.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 SpringsFactoryBean
interface 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 backingEntityInformation
andRepositoryInformation
as well as theQueryMethod
s 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
.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.MethodInterceptor
detecting whether a transaction is already running and exposing that fact viaSurroundingTransactionDetectorMethodInterceptor.isSurroundingTransactionActive()
.Extension ofRepositoryFactoryBeanSupport
to 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.