
org.multiverse.annotations.TransactionalObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multiverse-core Show documentation
Show all versions of multiverse-core Show documentation
Contains the core interfaces/classes of the Multiverse project. So no STM implementations
package org.multiverse.annotations;
import java.lang.annotation.*;
/**
* Can be placed on an object to make it Transactional. See the {@link TransactionalMethod} for more information.
*
* All instance methods will be {@link TransactionalMethod} by default (not readonly).
*
* This annotation is an {@link java.lang.annotation.Inherited} annotation, so automatically all subclasses
* will be TransactionalObjects when a @TransactionalObject annotation is on a class. no matter if the
* subclass doesn't add the {@link java.lang.annotation.Inherited} annotation.
*
* @author Peter Veentjer.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface TransactionalObject {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy