Package org.springframework.data.auditing
@NonNullApi
package org.springframework.data.auditing
General support for entity auditing.
-
ClassDescriptionInterface to abstract the ways setting the auditing information can be implemented.A factory to lookup
AuditableBeanWrapper
s.Auditing handler to mark entity objects created and modified.Support class to implement auditing handlers.DefaultDateTimeProvider
simply creating newLocalDateTime
instances for each method call.SPI to calculate the current time to be used when auditing.AuditingHandler
extension that usesPersistentEntity.isNew(Object)
to expose a genericIsNewAwareAuditingHandler.markAudited(Object)
method that will route calls toAuditingHandler.markCreated(Object)
orAuditingHandler.markModified(Object)
based on theIsNewStrategy
determined from the factory.AuditableBeanWrapperFactory
that will create amAuditableBeanWrapper
using mapping information obtained from aMappingContext
to detect auditing configuration and eventually invoking setting the auditing values.Auditing handler to mark entity objects created and modified.AuditingHandler
extension that usesPersistentEntity.isNew(Object)
to expose a genericReactiveIsNewAwareAuditingHandler.markAudited(Object)
method that will route calls toReactiveAuditingHandler.markCreated(Object)
orReactiveAuditingHandler.markModified(Object)
based on theIsNewStrategy
determined from the factory.