public class TransactionAnnotationValues extends java.lang.Object implements Transaction
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType |
protected JtxIsolationLevel |
isolation |
protected JtxPropagationBehavior |
propagation |
protected boolean |
readOnly |
protected int |
timeout |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType() |
JtxIsolationLevel |
isolation() |
static TransactionAnnotationValues |
of(AnnotationParser annotationParser,
java.lang.reflect.AnnotatedElement annotatedElement)
Shortcut for checking the annotation on annotated element and returning either the values or
null . |
static AnnotationParser |
parserFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Shortcut methods for given annotation class.
|
JtxPropagationBehavior |
propagation() |
boolean |
readOnly() |
int |
timeout() |
protected final java.lang.Class<? extends java.lang.annotation.Annotation> annotationType
protected final JtxPropagationBehavior propagation
protected final JtxIsolationLevel isolation
protected final boolean readOnly
protected final int timeout
public static AnnotationParser parserFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
public static TransactionAnnotationValues of(AnnotationParser annotationParser, java.lang.reflect.AnnotatedElement annotatedElement)
null
.public JtxPropagationBehavior propagation()
public JtxIsolationLevel isolation()
public boolean readOnly()
public int timeout()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType
in interface java.lang.annotation.Annotation
Copyright © 2003-present Jodd Team