Class IsNewAwareAuditingHandler

All Implemented Interfaces:
InitializingBean

public class IsNewAwareAuditingHandler extends AuditingHandler
AuditingHandler extension that uses PersistentEntity.isNew(Object) to expose a generic markAudited(Object) method that will route calls to AuditingHandler.markCreated(Object) or AuditingHandler.markModified(Object) based on the IsNewStrategy determined from the factory.
Since:
1.5
Author:
Oliver Gierke, Christoph Strobl