public class org.springframework.transaction.support.DefaultTransactionStatus extends org.springframework.transaction.support.AbstractTransactionStatus
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.transaction.support.DefaultTransactionStatus
super_class: org.springframework.transaction.support.AbstractTransactionStatus
{
private final java.lang.Object transaction;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final boolean newTransaction;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean newSynchronization;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean readOnly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean debug;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object suspendedResources;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(java.lang.Object, boolean, boolean, boolean, boolean, java.lang.Object);
descriptor: (Ljava/lang/Object;ZZZZLjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial org.springframework.transaction.support.AbstractTransactionStatus.<init>:()V
1: aload 0
aload 1
putfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
2: aload 0
iload 2
putfield org.springframework.transaction.support.DefaultTransactionStatus.newTransaction:Z
3: aload 0
iload 3
putfield org.springframework.transaction.support.DefaultTransactionStatus.newSynchronization:Z
4: aload 0
iload 4
putfield org.springframework.transaction.support.DefaultTransactionStatus.readOnly:Z
5: aload 0
iload 5
putfield org.springframework.transaction.support.DefaultTransactionStatus.debug:Z
6: aload 0
aload 6
putfield org.springframework.transaction.support.DefaultTransactionStatus.suspendedResources:Ljava/lang/Object;
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
0 8 1 transaction Ljava/lang/Object;
0 8 2 newTransaction Z
0 8 3 newSynchronization Z
0 8 4 readOnly Z
0 8 5 debug Z
0 8 6 suspendedResources Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
3:
4:
5:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
transaction
newTransaction
newSynchronization
readOnly
debug
suspendedResources
public java.lang.Object getTransaction();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No transaction active"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public boolean hasTransaction();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public boolean isNewTransaction();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.hasTransaction:()Z
ifeq 1
aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.newTransaction:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public boolean isNewSynchronization();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.newSynchronization:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.readOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public boolean isDebug();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.debug:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public java.lang.Object getSuspendedResources();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.suspendedResources:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public boolean isGlobalRollbackOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
instanceof org.springframework.transaction.support.SmartTransactionObject
ifeq 3
1: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
checkcast org.springframework.transaction.support.SmartTransactionObject
invokeinterface org.springframework.transaction.support.SmartTransactionObject.isRollbackOnly:()Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
instanceof org.springframework.transaction.support.SmartTransactionObject
ifeq 2
1: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
checkcast org.springframework.transaction.support.SmartTransactionObject
invokeinterface org.springframework.transaction.support.SmartTransactionObject.flush:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
protected org.springframework.transaction.SavepointManager getSavepointManager();
descriptor: ()Lorg/springframework/transaction/SavepointManager;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof org.springframework.transaction.SavepointManager
ifne 5
2: new org.springframework.transaction.NestedTransactionNotSupportedException
dup
3: new java.lang.StringBuilder
dup
ldc "Transaction object ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] does not support savepoints"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial org.springframework.transaction.NestedTransactionNotSupportedException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
checkcast org.springframework.transaction.SavepointManager
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
1 6 1 transaction Ljava/lang/Object;
public boolean isTransactionSavepointManager();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.transaction.support.DefaultTransactionStatus.transaction:Ljava/lang/Object;
instanceof org.springframework.transaction.SavepointManager
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/transaction/support/DefaultTransactionStatus;
}
SourceFile: "DefaultTransactionStatus.java"