public class org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter extends org.springframework.jca.cci.connection.DelegatingConnectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter
super_class: org.springframework.jca.cci.connection.DelegatingConnectionFactory
{
private javax.resource.cci.ConnectionSpec connectionSpec;
descriptor: Ljavax/resource/cci/ConnectionSpec;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.ThreadLocal<javax.resource.cci.ConnectionSpec> threadBoundSpec;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljavax/resource/cci/ConnectionSpec;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.jca.cci.connection.DelegatingConnectionFactory.<init>:()V
1: aload 0
2: new org.springframework.core.NamedThreadLocal
dup
ldc "Current CCI ConnectionSpec"
invokespecial org.springframework.core.NamedThreadLocal.<init>:(Ljava/lang/String;)V
putfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.threadBoundSpec:Ljava/lang/ThreadLocal;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
public void setConnectionSpec(javax.resource.cci.ConnectionSpec);
descriptor: (Ljavax/resource/cci/ConnectionSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.connectionSpec:Ljavax/resource/cci/ConnectionSpec;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
0 2 1 connectionSpec Ljavax/resource/cci/ConnectionSpec;
MethodParameters:
Name Flags
connectionSpec
public void setConnectionSpecForCurrentThread(javax.resource.cci.ConnectionSpec);
descriptor: (Ljavax/resource/cci/ConnectionSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.threadBoundSpec:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
0 2 1 spec Ljavax/resource/cci/ConnectionSpec;
MethodParameters:
Name Flags
spec
public void removeConnectionSpecFromCurrentThread();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.threadBoundSpec:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
public final javax.resource.cci.Connection getConnection();
descriptor: ()Ljavax/resource/cci/Connection;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.threadBoundSpec:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast javax.resource.cci.ConnectionSpec
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokevirtual org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.doGetConnection:(Ljavax/resource/cci/ConnectionSpec;)Ljavax/resource/cci/Connection;
areturn
3: StackMap locals: javax.resource.cci.ConnectionSpec
StackMap stack:
aload 0
aload 0
getfield org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.connectionSpec:Ljavax/resource/cci/ConnectionSpec;
invokevirtual org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.doGetConnection:(Ljavax/resource/cci/ConnectionSpec;)Ljavax/resource/cci/Connection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
1 4 1 threadSpec Ljavax/resource/cci/ConnectionSpec;
Exceptions:
throws javax.resource.ResourceException
protected javax.resource.cci.Connection doGetConnection(javax.resource.cci.ConnectionSpec);
descriptor: (Ljavax/resource/cci/ConnectionSpec;)Ljavax/resource/cci/Connection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter.getTargetConnectionFactory:()Ljavax/resource/cci/ConnectionFactory;
astore 2
start local 2 1: aload 2
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 'targetConnectionFactory' set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 1
ifnull 5
aload 2
aload 1
invokeinterface javax.resource.cci.ConnectionFactory.getConnection:(Ljavax/resource/cci/ConnectionSpec;)Ljavax/resource/cci/Connection;
goto 6
StackMap locals:
StackMap stack:
5: aload 2
invokeinterface javax.resource.cci.ConnectionFactory.getConnection:()Ljavax/resource/cci/Connection;
StackMap locals:
StackMap stack: javax.resource.cci.Connection
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/jca/cci/connection/ConnectionSpecConnectionFactoryAdapter;
0 7 1 spec Ljavax/resource/cci/ConnectionSpec;
1 7 2 connectionFactory Ljavax/resource/cci/ConnectionFactory;
Exceptions:
throws javax.resource.ResourceException
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
spec
}
SourceFile: "ConnectionSpecConnectionFactoryAdapter.java"