org.javers.spring.annotation.JaversAuditableAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-spring Show documentation
Show all versions of javers-spring Show documentation
JaVers object auditing and diff framework
package org.javers.spring.annotation;
import org.javers.core.Javers;
import org.javers.spring.auditable.aspect.JaversAuditableAspectAsync;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.Executor;
/**
* INCUBATING - Javers Async API has incubating status.
*
*
* Enables asynchronous auto-audit aspect when put on a method (typically in a Repository).
*
*
* Triggers {@link Javers#commitAsync(String, Object, Executor)} for each method argument.
*
*
* Important! Works with MongoDB, not implemented for SQL repositories.
*
* @see JaversAuditableAspectAsync
* @author Razi
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface JaversAuditableAsync {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy