public class org.apache.commons.configuration2.DatabaseConfiguration extends org.apache.commons.configuration2.AbstractConfiguration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.configuration2.DatabaseConfiguration
super_class: org.apache.commons.configuration2.AbstractConfiguration
{
private static final java.lang.String SQL_GET_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SELECT * FROM %s WHERE %s =?"
private static final java.lang.String SQL_IS_EMPTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SELECT count(*) FROM %s WHERE 1 = 1"
private static final java.lang.String SQL_CLEAR_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "DELETE FROM %s WHERE %s =?"
private static final java.lang.String SQL_CLEAR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "DELETE FROM %s WHERE 1 = 1"
private static final java.lang.String SQL_GET_KEYS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SELECT DISTINCT %s FROM %s WHERE 1 = 1"
private javax.sql.DataSource dataSource;
descriptor: Ljavax/sql/DataSource;
flags: (0x0002) ACC_PRIVATE
private java.lang.String table;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String configurationNameColumn;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String keyColumn;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String valueColumn;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String configurationName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean autoCommit;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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.apache.commons.configuration2.AbstractConfiguration.<init>:()V
1: aload 0
new org.apache.commons.configuration2.io.ConfigurationLogger
dup
ldc Lorg/apache/commons/configuration2/DatabaseConfiguration;
invokespecial org.apache.commons.configuration2.io.ConfigurationLogger.<init>:(Ljava/lang/Class;)V
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.initLogger:(Lorg/apache/commons/configuration2/io/ConfigurationLogger;)V
2: aload 0
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.addErrorLogListener:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public javax.sql.DataSource getDataSource();
descriptor: ()Ljavax/sql/DataSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.dataSource:Ljavax/sql/DataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setDataSource(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
aload 1
putfield org.apache.commons.configuration2.DatabaseConfiguration.dataSource:Ljavax/sql/DataSource;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 dataSource Ljavax/sql/DataSource;
MethodParameters:
Name Flags
dataSource final
public java.lang.String getTable();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.table:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setTable(java.lang.String);
descriptor: (Ljava/lang/String;)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.apache.commons.configuration2.DatabaseConfiguration.table:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 table Ljava/lang/String;
MethodParameters:
Name Flags
table final
public java.lang.String getConfigurationNameColumn();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.configurationNameColumn:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setConfigurationNameColumn(java.lang.String);
descriptor: (Ljava/lang/String;)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.apache.commons.configuration2.DatabaseConfiguration.configurationNameColumn:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 configurationNameColumn Ljava/lang/String;
MethodParameters:
Name Flags
configurationNameColumn final
public java.lang.String getKeyColumn();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.keyColumn:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setKeyColumn(java.lang.String);
descriptor: (Ljava/lang/String;)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.apache.commons.configuration2.DatabaseConfiguration.keyColumn:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 keyColumn Ljava/lang/String;
MethodParameters:
Name Flags
keyColumn final
public java.lang.String getValueColumn();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.valueColumn:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setValueColumn(java.lang.String);
descriptor: (Ljava/lang/String;)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.apache.commons.configuration2.DatabaseConfiguration.valueColumn:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 valueColumn Ljava/lang/String;
MethodParameters:
Name Flags
valueColumn final
public java.lang.String getConfigurationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.configurationName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setConfigurationName(java.lang.String);
descriptor: (Ljava/lang/String;)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.apache.commons.configuration2.DatabaseConfiguration.configurationName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 configurationName Ljava/lang/String;
MethodParameters:
Name Flags
configurationName final
public boolean isAutoCommit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.autoCommit:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
public void setAutoCommit(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.commons.configuration2.DatabaseConfiguration.autoCommit:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 2 1 autoCommit Z
MethodParameters:
Name Flags
autoCommit final
protected java.lang.Object getPropertyInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.configuration2.DatabaseConfiguration$1
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
aload 1
aconst_null
2: aload 1
invokespecial org.apache.commons.configuration2.DatabaseConfiguration$1.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
3: astore 2
start local 2 4: aload 2
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation.execute:()Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 5 1 key Ljava/lang/String;
4 5 2 op Lorg/apache/commons/configuration2/DatabaseConfiguration$JdbcOperation<Ljava/lang/Object;>;
MethodParameters:
Name Flags
key final
protected void addPropertyDirect(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.configuration2.DatabaseConfiguration$2
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.WRITE:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationEvent.ADD_PROPERTY:Lorg/apache/commons/configuration2/event/EventType;
aload 1
aload 2
2: aload 1
aload 2
invokespecial org.apache.commons.configuration2.DatabaseConfiguration$2.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
3: invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$2.execute:()Ljava/lang/Object;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 5 1 key Ljava/lang/String;
0 5 2 obj Ljava/lang/Object;
MethodParameters:
Name Flags
key final
obj final
protected void addPropertyInternal(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.getListDelimiterHandler:()Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;
astore 3
start local 3 1: aload 0
getstatic org.apache.commons.configuration2.convert.DisabledListDelimiterHandler.INSTANCE:Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.setListDelimiterHandler:(Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;)V
2: aload 0
aload 1
aload 2
invokespecial org.apache.commons.configuration2.AbstractConfiguration.addPropertyInternal:(Ljava/lang/String;Ljava/lang/Object;)V
3: goto 7
4: StackMap locals: org.apache.commons.configuration2.DatabaseConfiguration java.lang.String java.lang.Object org.apache.commons.configuration2.convert.ListDelimiterHandler
StackMap stack: java.lang.Throwable
astore 4
5: aload 0
aload 3
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.setListDelimiterHandler:(Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;)V
6: aload 4
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.setListDelimiterHandler:(Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 9 1 key Ljava/lang/String;
0 9 2 value Ljava/lang/Object;
1 9 3 oldHandler Lorg/apache/commons/configuration2/convert/ListDelimiterHandler;
Exception table:
from to target type
1 4 4 any
MethodParameters:
Name Flags
key final
value final
protected boolean isEmptyInternal();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=1
start local 0 0: new org.apache.commons.configuration2.DatabaseConfiguration$3
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
aconst_null
aconst_null
2: invokespecial org.apache.commons.configuration2.DatabaseConfiguration$3.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;)V
3: astore 1
start local 1 4: aload 1
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation.execute:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 5: aload 2
ifnull 6
aload 2
invokevirtual java.lang.Integer.intValue:()I
ifeq 6
iconst_0
ireturn
StackMap locals: org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation java.lang.Integer
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
4 7 1 op Lorg/apache/commons/configuration2/DatabaseConfiguration$JdbcOperation<Ljava/lang/Integer;>;
5 7 2 count Ljava/lang/Integer;
protected boolean containsKeyInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.commons.configuration2.DatabaseConfiguration$4
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
aload 1
aconst_null
2: aload 1
invokespecial org.apache.commons.configuration2.DatabaseConfiguration$4.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
3: astore 2
start local 2 4: aload 2
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation.execute:()Ljava/lang/Object;
checkcast java.lang.Boolean
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation java.lang.Boolean
StackMap stack:
6: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 7 1 key Ljava/lang/String;
4 7 2 op Lorg/apache/commons/configuration2/DatabaseConfiguration$JdbcOperation<Ljava/lang/Boolean;>;
5 7 3 result Ljava/lang/Boolean;
MethodParameters:
Name Flags
key final
protected void clearPropertyDirect(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.commons.configuration2.DatabaseConfiguration$5
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.WRITE:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationEvent.CLEAR_PROPERTY:Lorg/apache/commons/configuration2/event/EventType;
aload 1
aconst_null
2: aload 1
invokespecial org.apache.commons.configuration2.DatabaseConfiguration$5.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V
3: invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$5.execute:()Ljava/lang/Object;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key final
protected void clearInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.apache.commons.configuration2.DatabaseConfiguration$6
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.WRITE:Lorg/apache/commons/configuration2/event/EventType;
1: getstatic org.apache.commons.configuration2.event.ConfigurationEvent.CLEAR:Lorg/apache/commons/configuration2/event/EventType;
aconst_null
aconst_null
2: invokespecial org.apache.commons.configuration2.DatabaseConfiguration$6.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;)V
3: invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$6.execute:()Ljava/lang/Object;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
protected java.util.Iterator<java.lang.String> getKeysInternal();
descriptor: ()Ljava/util/Iterator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new org.apache.commons.configuration2.DatabaseConfiguration$7
dup
aload 0
aload 0
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
2: getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.READ:Lorg/apache/commons/configuration2/event/EventType;
aconst_null
aconst_null
3: aload 1
invokespecial org.apache.commons.configuration2.DatabaseConfiguration$7.<init>:(Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/DatabaseConfiguration;Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventType;Ljava/lang/String;Ljava/lang/Object;Ljava/util/Collection;)V
4: invokevirtual org.apache.commons.configuration2.DatabaseConfiguration$7.execute:()Ljava/lang/Object;
pop
5: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
1 6 1 keys Ljava/util/Collection<Ljava/lang/String;>;
Signature: ()Ljava/util/Iterator<Ljava/lang/String;>;
public javax.sql.DataSource getDatasource();
descriptor: ()Ljavax/sql/DataSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.dataSource:Ljavax/sql/DataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
protected void close(java.sql.Connection, java.sql.Statement, java.sql.ResultSet);
descriptor: (Ljava/sql/Connection;Ljava/sql/Statement;Ljava/sql/ResultSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 5
1: aload 3
invokeinterface java.sql.ResultSet.close:()V
2: goto 5
3: StackMap locals:
StackMap stack: java.sql.SQLException
astore 4
start local 4 4: aload 0
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.getLogger:()Lorg/apache/commons/configuration2/io/ConfigurationLogger;
ldc "An error occurred on closing the result set"
aload 4
invokevirtual org.apache.commons.configuration2.io.ConfigurationLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 2
ifnull 10
6: aload 2
invokeinterface java.sql.Statement.close:()V
7: goto 10
8: StackMap locals:
StackMap stack: java.sql.SQLException
astore 4
start local 4 9: aload 0
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.getLogger:()Lorg/apache/commons/configuration2/io/ConfigurationLogger;
ldc "An error occured on closing the statement"
aload 4
invokevirtual org.apache.commons.configuration2.io.ConfigurationLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 10: StackMap locals:
StackMap stack:
aload 1
ifnull 15
11: aload 1
invokeinterface java.sql.Connection.close:()V
12: goto 15
13: StackMap locals:
StackMap stack: java.sql.SQLException
astore 4
start local 4 14: aload 0
invokevirtual org.apache.commons.configuration2.DatabaseConfiguration.getLogger:()Lorg/apache/commons/configuration2/io/ConfigurationLogger;
ldc "An error occured on closing the connection"
aload 4
invokevirtual org.apache.commons.configuration2.io.ConfigurationLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 16 1 conn Ljava/sql/Connection;
0 16 2 stmt Ljava/sql/Statement;
0 16 3 rs Ljava/sql/ResultSet;
4 5 4 e Ljava/sql/SQLException;
9 10 4 e Ljava/sql/SQLException;
14 15 4 e Ljava/sql/SQLException;
Exception table:
from to target type
0 2 3 Class java.sql.SQLException
5 7 8 Class java.sql.SQLException
10 12 13 Class java.sql.SQLException
MethodParameters:
Name Flags
conn final
stmt final
rs final
protected java.lang.Object (java.sql.ResultSet);
descriptor: (Ljava/sql/ResultSet;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.commons.configuration2.DatabaseConfiguration.valueColumn:Ljava/lang/String;
invokeinterface java.sql.ResultSet.getObject:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof java.sql.Clob
ifeq 3
2: aload 2
checkcast java.sql.Clob
invokestatic org.apache.commons.configuration2.DatabaseConfiguration.convertClob:(Ljava/sql/Clob;)Ljava/lang/Object;
astore 2
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration2/DatabaseConfiguration;
0 4 1 rs Ljava/sql/ResultSet;
1 4 2 value Ljava/lang/Object;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
rs final
private static java.lang.Object convertClob(java.sql.Clob);
descriptor: (Ljava/sql/Clob;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.sql.Clob.length:()J
l2i
istore 1
start local 1 1: iload 1
ifle 2
aload 0
lconst_1
iload 1
invokeinterface java.sql.Clob.getSubString:(JI)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: ldc ""
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 clob Ljava/sql/Clob;
1 4 1 len I
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
clob final
}
SourceFile: "DatabaseConfiguration.java"
NestMembers:
org.apache.commons.configuration2.DatabaseConfiguration$1 org.apache.commons.configuration2.DatabaseConfiguration$2 org.apache.commons.configuration2.DatabaseConfiguration$3 org.apache.commons.configuration2.DatabaseConfiguration$4 org.apache.commons.configuration2.DatabaseConfiguration$5 org.apache.commons.configuration2.DatabaseConfiguration$6 org.apache.commons.configuration2.DatabaseConfiguration$7 org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation
InnerClasses:
org.apache.commons.configuration2.DatabaseConfiguration$1
org.apache.commons.configuration2.DatabaseConfiguration$2
org.apache.commons.configuration2.DatabaseConfiguration$3
org.apache.commons.configuration2.DatabaseConfiguration$4
org.apache.commons.configuration2.DatabaseConfiguration$5
org.apache.commons.configuration2.DatabaseConfiguration$6
org.apache.commons.configuration2.DatabaseConfiguration$7
private abstract JdbcOperation = org.apache.commons.configuration2.DatabaseConfiguration$JdbcOperation of org.apache.commons.configuration2.DatabaseConfiguration