public class io.ebeaninternal.api.ScopedTransaction extends io.ebeaninternal.api.SpiTransactionProxy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.ebeaninternal.api.ScopedTransaction
super_class: io.ebeaninternal.api.SpiTransactionProxy
{
private final io.ebeaninternal.server.transaction.TransactionScopeManager manager;
descriptor: Lio/ebeaninternal/server/transaction/TransactionScopeManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.ebeaninternal.server.util.ArrayStack<io.ebeaninternal.api.ScopeTrans> stack;
descriptor: Lio/ebeaninternal/server/util/ArrayStack;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/ebeaninternal/server/util/ArrayStack<Lio/ebeaninternal/api/ScopeTrans;>;
private io.ebeaninternal.api.ScopeTrans current;
descriptor: Lio/ebeaninternal/api/ScopeTrans;
flags: (0x0002) ACC_PRIVATE
private boolean scopeCleared;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(io.ebeaninternal.server.transaction.TransactionScopeManager);
descriptor: (Lio/ebeaninternal/server/transaction/TransactionScopeManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.ebeaninternal.api.SpiTransactionProxy.<init>:()V
1: aload 0
new io.ebeaninternal.server.util.ArrayStack
dup
invokespecial io.ebeaninternal.server.util.ArrayStack.<init>:()V
putfield io.ebeaninternal.api.ScopedTransaction.stack:Lio/ebeaninternal/server/util/ArrayStack;
2: aload 0
aload 1
putfield io.ebeaninternal.api.ScopedTransaction.manager:Lio/ebeaninternal/server/transaction/TransactionScopeManager;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 4 1 manager Lio/ebeaninternal/server/transaction/TransactionScopeManager;
MethodParameters:
Name Flags
manager
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ScopedTransaction["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/api/ScopedTransaction;
public void push(io.ebeaninternal.api.ScopeTrans);
descriptor: (Lio/ebeaninternal/api/ScopeTrans;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
ifnull 2
1: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.stack:Lio/ebeaninternal/server/util/ArrayStack;
aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.server.util.ArrayStack.push:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
3: aload 0
aload 1
invokevirtual io.ebeaninternal.api.ScopeTrans.getTransaction:()Lio/ebeaninternal/api/SpiTransaction;
putfield io.ebeaninternal.api.ScopedTransaction.transaction:Lio/ebeaninternal/api/SpiTransaction;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 5 1 scopeTrans Lio/ebeaninternal/api/ScopeTrans;
MethodParameters:
Name Flags
scopeTrans
public void complete(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
aload 1
iload 2
invokevirtual io.ebeaninternal.api.ScopeTrans.complete:(Ljava/lang/Object;I)V
1: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.pop:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 3 1 returnOrThrowable Ljava/lang/Object;
0 3 2 opCode I
MethodParameters:
Name Flags
returnOrThrowable
opCode
public void complete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.api.ScopeTrans.complete:()V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
3: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.pop:()V
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.pop:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/ebeaninternal/api/ScopedTransaction;
Exception table:
from to target type
0 2 2 any
private void clearScopeOnce();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.scopeCleared:Z
ifne 3
1: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.manager:Lio/ebeaninternal/server/transaction/TransactionScopeManager;
aconst_null
invokevirtual io.ebeaninternal.server.transaction.TransactionScopeManager.set:(Lio/ebeaninternal/api/SpiTransaction;)V
2: aload 0
iconst_1
putfield io.ebeaninternal.api.ScopedTransaction.scopeCleared:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/ebeaninternal/api/ScopedTransaction;
private boolean clearScope();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.stack:Lio/ebeaninternal/server/util/ArrayStack;
invokevirtual io.ebeaninternal.server.util.ArrayStack.isEmpty:()Z
ifeq 3
1: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScopeOnce:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/ebeaninternal/api/ScopedTransaction;
private void pop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
ifne 3
1: aload 0
aload 0
getfield io.ebeaninternal.api.ScopedTransaction.stack:Lio/ebeaninternal/server/util/ArrayStack;
invokevirtual io.ebeaninternal.server.util.ArrayStack.pop:()Ljava/lang/Object;
checkcast io.ebeaninternal.api.ScopeTrans
putfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
2: aload 0
aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.api.ScopeTrans.getTransaction:()Lio/ebeaninternal/api/SpiTransaction;
putfield io.ebeaninternal.api.ScopedTransaction.transaction:Lio/ebeaninternal/api/SpiTransaction;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/ebeaninternal/api/ScopedTransaction;
public void end();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.api.ScopeTrans.end:()V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
3: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.pop:()V
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.pop:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/ebeaninternal/api/ScopedTransaction;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws javax.persistence.PersistenceException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.end:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/ebeaninternal/api/ScopedTransaction;
public void commit();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.api.ScopeTrans.commitTransaction:()V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
3: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/ebeaninternal/api/ScopedTransaction;
Exception table:
from to target type
0 2 2 any
public void rollback();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
aconst_null
invokevirtual io.ebeaninternal.api.ScopeTrans.rollback:(Ljava/lang/Throwable;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
3: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
4: aload 1
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/ebeaninternal/api/ScopedTransaction;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws javax.persistence.PersistenceException
public void rollback(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
aload 1
invokevirtual io.ebeaninternal.api.ScopeTrans.rollback:(Ljava/lang/Throwable;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
3: aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
4: aload 2
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.ebeaninternal.api.ScopedTransaction.clearScope:()Z
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 7 1 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws javax.persistence.PersistenceException
MethodParameters:
Name Flags
e
public void setRollbackOnly();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
invokevirtual io.ebeaninternal.api.ScopeTrans.setRollbackOnly:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/ebeaninternal/api/ScopedTransaction;
public io.ebeaninternal.api.SpiTransaction current();
descriptor: ()Lio/ebeaninternal/api/SpiTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.transaction:Lio/ebeaninternal/api/SpiTransaction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/api/ScopedTransaction;
public java.lang.Error caughtError(java.lang.Error);
descriptor: (Ljava/lang/Error;)Ljava/lang/Error;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
aload 1
invokevirtual io.ebeaninternal.api.ScopeTrans.caughtError:(Ljava/lang/Error;)Ljava/lang/Error;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 1 1 e Ljava/lang/Error;
MethodParameters:
Name Flags
e
public java.lang.Exception caughtThrowable(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Ljava/lang/Exception;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.ebeaninternal.api.ScopedTransaction.current:Lio/ebeaninternal/api/ScopeTrans;
aload 1
invokevirtual io.ebeaninternal.api.ScopeTrans.caughtThrowable:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.lang.Exception
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/ebeaninternal/api/ScopedTransaction;
0 1 1 e Ljava/lang/Exception;
MethodParameters:
Name Flags
e
}
SourceFile: "ScopedTransaction.java"