All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javers.spring.annotation.JaversAuditableAsync Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
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