public class org.springframework.jca.cci.connection.CciLocalTransactionManager extends org.springframework.transaction.support.AbstractPlatformTransactionManager implements org.springframework.transaction.support.ResourceTransactionManager, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jca.cci.connection.CciLocalTransactionManager
super_class: org.springframework.transaction.support.AbstractPlatformTransactionManager
{
private javax.resource.cci.ConnectionFactory connectionFactory;
descriptor: Ljavax/resource/cci/ConnectionFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.transaction.support.AbstractPlatformTransactionManager.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
public void <init>(javax.resource.cci.ConnectionFactory);
descriptor: (Ljavax/resource/cci/ConnectionFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.transaction.support.AbstractPlatformTransactionManager.<init>:()V
1: aload 0
aload 1
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.setConnectionFactory:(Ljavax/resource/cci/ConnectionFactory;)V
2: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.afterPropertiesSet:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 4 1 connectionFactory Ljavax/resource/cci/ConnectionFactory;
MethodParameters:
Name Flags
connectionFactory
public void setConnectionFactory(javax.resource.cci.ConnectionFactory);
descriptor: (Ljavax/resource/cci/ConnectionFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.jca.cci.connection.TransactionAwareConnectionFactoryProxy
ifeq 3
1: aload 0
aload 1
checkcast org.springframework.jca.cci.connection.TransactionAwareConnectionFactoryProxy
invokevirtual org.springframework.jca.cci.connection.TransactionAwareConnectionFactoryProxy.getTargetConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
putfield org.springframework.jca.cci.connection.CciLocalTransactionManager.connectionFactory:Ljavax/resource/cci/ConnectionFactory;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.springframework.jca.cci.connection.CciLocalTransactionManager.connectionFactory:Ljavax/resource/cci/ConnectionFactory;
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 5 1 cf Ljavax/resource/cci/ConnectionFactory;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cf
public javax.resource.cci.ConnectionFactory getConnectionFactory();
descriptor: ()Ljavax/resource/cci/ConnectionFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.connectionFactory:Ljavax/resource/cci/ConnectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.resource.cci.ConnectionFactory obtainConnectionFactory();
descriptor: ()Ljavax/resource/cci/ConnectionFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.getConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
astore 1
start local 1 1: aload 1
ifnull 2
iconst_1
goto 3
StackMap locals: javax.resource.cci.ConnectionFactory
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "No ConnectionFactory set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
1 5 1 connectionFactory Ljavax/resource/cci/ConnectionFactory;
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.getConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Property 'connectionFactory' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
public java.lang.Object getResourceFactory();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
protected java.lang.Object doGetTransaction();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: new org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
dup
invokespecial org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.getResource:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.springframework.jca.cci.connection.ConnectionHolder
2: astore 2
start local 2 3: aload 1
aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.setConnectionHolder:(Lorg/springframework/jca/cci/connection/ConnectionHolder;)V
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
1 5 1 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
3 5 2 conHolder Lorg/springframework/jca/cci/connection/ConnectionHolder;
protected boolean isExistingTransaction(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.hasConnectionHolder:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 2 1 transaction Ljava/lang/Object;
1 2 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
MethodParameters:
Name Flags
transaction
protected void doBegin(java.lang.Object, org.springframework.transaction.TransactionDefinition);
descriptor: (Ljava/lang/Object;Lorg/springframework/transaction/TransactionDefinition;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 3
start local 3 1: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 4
invokeinterface javax.resource.cci.ConnectionFactory.getConnection:()Ljavax/resource/cci/Connection;
astore 5
4: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 6
5: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Acquired Connection ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] for local CCI transaction"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
6: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject javax.resource.cci.ConnectionFactory javax.resource.cci.Connection
StackMap stack:
new org.springframework.jca.cci.connection.ConnectionHolder
dup
aload 5
invokespecial org.springframework.jca.cci.connection.ConnectionHolder.<init>:(Ljavax/resource/cci/Connection;)V
astore 6
start local 6 7: aload 6
iconst_1
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.setSynchronizedWithTransaction:(Z)V
8: aload 5
invokeinterface javax.resource.cci.Connection.getLocalTransaction:()Ljavax/resource/cci/LocalTransaction;
invokeinterface javax.resource.cci.LocalTransaction.begin:()V
9: aload 0
aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.determineTimeout:(Lorg/springframework/transaction/TransactionDefinition;)I
istore 7
start local 7 10: iload 7
iconst_m1
if_icmpeq 12
11: aload 6
iload 7
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.setTimeoutInSeconds:(I)V
12: StackMap locals: org.springframework.jca.cci.connection.ConnectionHolder int
StackMap stack:
aload 3
aload 6
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.setConnectionHolder:(Lorg/springframework/jca/cci/connection/ConnectionHolder;)V
13: aload 4
aload 6
invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.bindResource:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 7 end local 6 14: goto 24
15: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager java.lang.Object org.springframework.transaction.TransactionDefinition org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject javax.resource.cci.ConnectionFactory javax.resource.cci.Connection
StackMap stack: javax.resource.NotSupportedException
astore 6
start local 6 16: aload 5
aload 4
invokestatic org.springframework.jca.cci.connection.ConnectionFactoryUtils.releaseConnection:(Ljavax/resource/cci/Connection;Ljavax/resource/cci/ConnectionFactory;)V
17: new org.springframework.transaction.CannotCreateTransactionException
dup
ldc "CCI Connection does not support local transactions"
aload 6
invokespecial org.springframework.transaction.CannotCreateTransactionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 18: StackMap locals:
StackMap stack: javax.resource.spi.LocalTransactionException
astore 6
start local 6 19: aload 5
aload 4
invokestatic org.springframework.jca.cci.connection.ConnectionFactoryUtils.releaseConnection:(Ljavax/resource/cci/Connection;Ljavax/resource/cci/ConnectionFactory;)V
20: new org.springframework.transaction.CannotCreateTransactionException
dup
ldc "Could not begin local CCI transaction"
aload 6
invokespecial org.springframework.transaction.CannotCreateTransactionException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
start local 6 22: aload 5
aload 4
invokestatic org.springframework.jca.cci.connection.ConnectionFactoryUtils.releaseConnection:(Ljavax/resource/cci/Connection;Ljavax/resource/cci/ConnectionFactory;)V
23: new org.springframework.transaction.TransactionSystemException
dup
ldc "Unexpected failure on begin of CCI local transaction"
aload 6
invokespecial org.springframework.transaction.TransactionSystemException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 24: StackMap locals:
StackMap stack:
return
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 25 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 25 1 transaction Ljava/lang/Object;
0 25 2 definition Lorg/springframework/transaction/TransactionDefinition;
1 25 3 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
2 25 4 connectionFactory Ljavax/resource/cci/ConnectionFactory;
3 25 5 con Ljavax/resource/cci/Connection;
7 14 6 connectionHolder Lorg/springframework/jca/cci/connection/ConnectionHolder;
10 14 7 timeout I
16 18 6 ex Ljavax/resource/NotSupportedException;
19 21 6 ex Ljavax/resource/spi/LocalTransactionException;
22 24 6 ex Ljava/lang/Throwable;
Exception table:
from to target type
3 14 15 Class javax.resource.NotSupportedException
3 14 18 Class javax.resource.spi.LocalTransactionException
3 14 21 Class java.lang.Throwable
MethodParameters:
Name Flags
transaction
definition
protected java.lang.Object doSuspend(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 2
aconst_null
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.setConnectionHolder:(Lorg/springframework/jca/cci/connection/ConnectionHolder;)V
2: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 3 1 transaction Ljava/lang/Object;
1 3 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
MethodParameters:
Name Flags
transaction
protected void doResume(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast org.springframework.jca.cci.connection.ConnectionHolder
astore 3
start local 3 1: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
aload 3
invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.bindResource:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 3 1 transaction Ljava/lang/Object;
0 3 2 suspendedResources Ljava/lang/Object;
1 3 3 conHolder Lorg/springframework/jca/cci/connection/ConnectionHolder;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
transaction
suspendedResources
protected boolean isRollbackOnly(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.isRollbackOnly:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 2 1 transaction Ljava/lang/Object;
1 2 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
Exceptions:
throws org.springframework.transaction.TransactionException
MethodParameters:
Name Flags
transaction
protected void doCommit(org.springframework.transaction.support.DefaultTransactionStatus);
descriptor: (Lorg/springframework/transaction/support/DefaultTransactionStatus;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.getTransaction:()Ljava/lang/Object;
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.getConnection:()Ljavax/resource/cci/Connection;
astore 3
start local 3 2: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.isDebug:()Z
ifeq 4
3: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Committing CCI local transaction on Connection ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
4: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject javax.resource.cci.Connection
StackMap stack:
aload 3
invokeinterface javax.resource.cci.Connection.getLocalTransaction:()Ljavax/resource/cci/LocalTransaction;
invokeinterface javax.resource.cci.LocalTransaction.commit:()V
5: goto 10
6: StackMap locals:
StackMap stack: javax.resource.spi.LocalTransactionException
astore 4
start local 4 7: new org.springframework.transaction.TransactionSystemException
dup
ldc "Could not commit CCI local transaction"
aload 4
invokespecial org.springframework.transaction.TransactionSystemException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 8: StackMap locals:
StackMap stack: javax.resource.ResourceException
astore 4
start local 4 9: new org.springframework.transaction.TransactionSystemException
dup
ldc "Unexpected failure on commit of CCI local transaction"
aload 4
invokespecial org.springframework.transaction.TransactionSystemException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 11 1 status Lorg/springframework/transaction/support/DefaultTransactionStatus;
1 11 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
2 11 3 con Ljavax/resource/cci/Connection;
7 8 4 ex Ljavax/resource/spi/LocalTransactionException;
9 10 4 ex Ljavax/resource/ResourceException;
Exception table:
from to target type
4 5 6 Class javax.resource.spi.LocalTransactionException
4 5 8 Class javax.resource.ResourceException
MethodParameters:
Name Flags
status
protected void doRollback(org.springframework.transaction.support.DefaultTransactionStatus);
descriptor: (Lorg/springframework/transaction/support/DefaultTransactionStatus;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.getTransaction:()Ljava/lang/Object;
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.getConnection:()Ljavax/resource/cci/Connection;
astore 3
start local 3 2: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.isDebug:()Z
ifeq 4
3: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Rolling back CCI local transaction on Connection ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
4: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject javax.resource.cci.Connection
StackMap stack:
aload 3
invokeinterface javax.resource.cci.Connection.getLocalTransaction:()Ljavax/resource/cci/LocalTransaction;
invokeinterface javax.resource.cci.LocalTransaction.rollback:()V
5: goto 10
6: StackMap locals:
StackMap stack: javax.resource.spi.LocalTransactionException
astore 4
start local 4 7: new org.springframework.transaction.TransactionSystemException
dup
ldc "Could not roll back CCI local transaction"
aload 4
invokespecial org.springframework.transaction.TransactionSystemException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 8: StackMap locals:
StackMap stack: javax.resource.ResourceException
astore 4
start local 4 9: new org.springframework.transaction.TransactionSystemException
dup
ldc "Unexpected failure on rollback of CCI local transaction"
aload 4
invokespecial org.springframework.transaction.TransactionSystemException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 11 1 status Lorg/springframework/transaction/support/DefaultTransactionStatus;
1 11 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
2 11 3 con Ljavax/resource/cci/Connection;
7 8 4 ex Ljavax/resource/spi/LocalTransactionException;
9 10 4 ex Ljavax/resource/ResourceException;
Exception table:
from to target type
4 5 6 Class javax.resource.spi.LocalTransactionException
4 5 8 Class javax.resource.ResourceException
MethodParameters:
Name Flags
status
protected void doSetRollbackOnly(org.springframework.transaction.support.DefaultTransactionStatus);
descriptor: (Lorg/springframework/transaction/support/DefaultTransactionStatus;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.getTransaction:()Ljava/lang/Object;
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 1
invokevirtual org.springframework.transaction.support.DefaultTransactionStatus.isDebug:()Z
ifeq 5
2: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Setting CCI local transaction ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.getConnection:()Ljavax/resource/cci/Connection;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc "] rollback-only"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
5: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
StackMap stack:
aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.setRollbackOnly:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 7 1 status Lorg/springframework/transaction/support/DefaultTransactionStatus;
1 7 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
MethodParameters:
Name Flags
status
protected void doCleanupAfterCompletion(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager.obtainConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
astore 3
start local 3 2: aload 3
invokestatic org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.clear:()V
4: aload 2
invokevirtual org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject.getConnectionHolder:()Lorg/springframework/jca/cci/connection/ConnectionHolder;
invokevirtual org.springframework.jca.cci.connection.ConnectionHolder.getConnection:()Ljavax/resource/cci/Connection;
astore 4
start local 4 5: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 7
6: aload 0
getfield org.springframework.jca.cci.connection.CciLocalTransactionManager.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Releasing CCI Connection ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] after transaction"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
7: StackMap locals: org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject javax.resource.cci.ConnectionFactory javax.resource.cci.Connection
StackMap stack:
aload 4
aload 3
invokestatic org.springframework.jca.cci.connection.ConnectionFactoryUtils.releaseConnection:(Ljavax/resource/cci/Connection;Ljavax/resource/cci/ConnectionFactory;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/jca/cci/connection/CciLocalTransactionManager;
0 9 1 transaction Ljava/lang/Object;
1 9 2 txObject Lorg/springframework/jca/cci/connection/CciLocalTransactionManager$CciLocalTransactionObject;
2 9 3 connectionFactory Ljavax/resource/cci/ConnectionFactory;
5 9 4 con Ljavax/resource/cci/Connection;
MethodParameters:
Name Flags
transaction
}
SourceFile: "CciLocalTransactionManager.java"
NestMembers:
org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject
InnerClasses:
private CciLocalTransactionObject = org.springframework.jca.cci.connection.CciLocalTransactionManager$CciLocalTransactionObject of org.springframework.jca.cci.connection.CciLocalTransactionManager