
org.multiverse.annotations.Exclude Maven / Gradle / Ivy
package org.multiverse.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The Exclude annotation can be used for the following purposes:
*
* - Can be placed on a field of an {@link TransactionalObject} to exclude it from being managed by
* the STM. So this field is for the STM completely invisible; as if it doesn't exist.
* - Can be placed on a instance method of a {@link TransactionalObject} to exclude it from being
* transactional.
*
*
*
* @author Peter Veentjer
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
public @interface Exclude {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy