public class org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup implements org.springframework.jdbc.datasource.lookup.DataSourceLookup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup
super_class: java.lang.Object
{
private final javax.sql.DataSource dataSource;
descriptor: Ljavax/sql/DataSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(javax.sql.DataSource);
descriptor: (Ljavax/sql/DataSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "DataSource must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup.dataSource:Ljavax/sql/DataSource;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jdbc/datasource/lookup/SingleDataSourceLookup;
0 4 1 dataSource Ljavax/sql/DataSource;
MethodParameters:
Name Flags
dataSource
public javax.sql.DataSource getDataSource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/sql/DataSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup.dataSource:Ljavax/sql/DataSource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jdbc/datasource/lookup/SingleDataSourceLookup;
0 1 1 dataSourceName Ljava/lang/String;
MethodParameters:
Name Flags
dataSourceName
}
SourceFile: "SingleDataSourceLookup.java"