class org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate
super_class: java.lang.Object
{
private final javax.transaction.xa.XAResource xaResource;
descriptor: Ljavax/transaction/xa/XAResource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.transaction.Transaction transaction;
descriptor: Ljavax/transaction/Transaction;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean rollbackOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.springframework.jca.endpoint.AbstractMessageEndpointFactory this$0;
descriptor: Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.jca.endpoint.AbstractMessageEndpointFactory, javax.transaction.xa.XAResource);
descriptor: (Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;Ljavax/transaction/xa/XAResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ifnonnull 4
aload 1
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionFactory:Lorg/springframework/transaction/jta/TransactionFactory;
ifnull 4
2: aload 1
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionFactory:Lorg/springframework/transaction/jta/TransactionFactory;
invokeinterface org.springframework.transaction.jta.TransactionFactory.supportsResourceAdapterManagedTransactions:()Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "ResourceAdapter-provided XAResource is required for transaction management. Check your ResourceAdapter's configuration."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate org.springframework.jca.endpoint.AbstractMessageEndpointFactory javax.transaction.xa.XAResource
StackMap stack:
aload 0
aload 2
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.xaResource:Ljavax/transaction/xa/XAResource;
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
0 6 2 xaResource Ljavax/transaction/xa/XAResource;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
this$0 final
xaResource
public void beginTransaction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionFactory:Lorg/springframework/transaction/jta/TransactionFactory;
ifnull 3
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.xaResource:Ljavax/transaction/xa/XAResource;
ifnull 3
1: aload 0
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionFactory:Lorg/springframework/transaction/jta/TransactionFactory;
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionName:Ljava/lang/String;
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.this$0:Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory;
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory.transactionTimeout:I
invokeinterface org.springframework.transaction.jta.TransactionFactory.createTransaction:(Ljava/lang/String;I)Ljavax/transaction/Transaction;
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
2: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.xaResource:Ljavax/transaction/xa/XAResource;
invokeinterface javax.transaction.Transaction.enlistResource:(Ljavax/transaction/xa/XAResource;)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
Exceptions:
throws java.lang.Exception
public void setRollbackOnly();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
ifnull 2
1: aload 0
iconst_1
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.rollbackOnly:Z
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
public void endTransaction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
ifnull 12
1: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.rollbackOnly:Z
ifeq 4
2: aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
invokeinterface javax.transaction.Transaction.rollback:()V
3: goto 10
4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
invokeinterface javax.transaction.Transaction.commit:()V
5: goto 10
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: aload 0
aconst_null
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
8: aload 0
iconst_0
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.rollbackOnly:Z
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.transaction:Ljavax/transaction/Transaction;
11: aload 0
iconst_0
putfield org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate.rollbackOnly:Z
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/jca/endpoint/AbstractMessageEndpointFactory$TransactionDelegate;
Exception table:
from to target type
1 6 6 any
Exceptions:
throws java.lang.Exception
}
SourceFile: "AbstractMessageEndpointFactory.java"
NestHost: org.springframework.jca.endpoint.AbstractMessageEndpointFactory
InnerClasses:
private TransactionDelegate = org.springframework.jca.endpoint.AbstractMessageEndpointFactory$TransactionDelegate of org.springframework.jca.endpoint.AbstractMessageEndpointFactory