final class org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer extends org.springframework.jdbc.datasource.embedded.AbstractEmbeddedDatabaseConfigurer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer
super_class: org.springframework.jdbc.datasource.embedded.AbstractEmbeddedDatabaseConfigurer
{
private static org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer instance;
descriptor: Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.Class<? extends java.sql.Driver> driverClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/sql/Driver;>;
public static synchronized org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer getInstance();
descriptor: ()Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=0, args_size=0
0: getstatic org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.instance:Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
ifnonnull 4
1: new org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer
dup
2: ldc "org.hsqldb.jdbcDriver"
ldc Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
3: invokespecial org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.<init>:(Ljava/lang/Class;)V
putstatic org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.instance:Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
4: StackMap locals:
StackMap stack:
getstatic org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.instance:Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.ClassNotFoundException
private void <init>(java.lang.Class<? extends java.sql.Driver>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.jdbc.datasource.embedded.AbstractEmbeddedDatabaseConfigurer.<init>:()V
1: aload 0
aload 1
putfield org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.driverClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
0 3 1 driverClass Ljava/lang/Class<+Ljava/sql/Driver;>;
Signature: (Ljava/lang/Class<+Ljava/sql/Driver;>;)V
MethodParameters:
Name Flags
driverClass
public void configureConnectionProperties(org.springframework.jdbc.datasource.embedded.ConnectionProperties, java.lang.String);
descriptor: (Lorg/springframework/jdbc/datasource/embedded/ConnectionProperties;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer.driverClass:Ljava/lang/Class;
invokeinterface org.springframework.jdbc.datasource.embedded.ConnectionProperties.setDriverClass:(Ljava/lang/Class;)V
1: aload 1
new java.lang.StringBuilder
dup
ldc "jdbc:hsqldb:mem:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.springframework.jdbc.datasource.embedded.ConnectionProperties.setUrl:(Ljava/lang/String;)V
2: aload 1
ldc "sa"
invokeinterface org.springframework.jdbc.datasource.embedded.ConnectionProperties.setUsername:(Ljava/lang/String;)V
3: aload 1
ldc ""
invokeinterface org.springframework.jdbc.datasource.embedded.ConnectionProperties.setPassword:(Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/jdbc/datasource/embedded/HsqlEmbeddedDatabaseConfigurer;
0 5 1 properties Lorg/springframework/jdbc/datasource/embedded/ConnectionProperties;
0 5 2 databaseName Ljava/lang/String;
MethodParameters:
Name Flags
properties
databaseName
}
SourceFile: "HsqlEmbeddedDatabaseConfigurer.java"