public class org.apache.catalina.session.DataSourceStore extends org.apache.catalina.session.StoreBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.session.DataSourceStore
super_class: org.apache.catalina.session.StoreBase
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected static final java.lang.String storeName;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "dataSourceStore"
protected java.lang.String dataSourceName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private boolean localDataSource;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected javax.sql.DataSource dataSource;
descriptor: Ljavax/sql/DataSource;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionTable;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionAppCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionIdCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionDataCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionValidCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionMaxInactiveCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String sessionLastAccessedCol;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.session.StoreBase.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.session.DataSourceStore.name:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.apache.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
3: aload 0
iconst_0
putfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
4: aload 0
aconst_null
putfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
5: aload 0
ldc "tomcat$sessions"
putfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
6: aload 0
ldc "app"
putfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
7: aload 0
ldc "id"
putfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
8: aload 0
ldc "data"
putfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
9: aload 0
ldc "valid"
putfield org.apache.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
10: aload 0
ldc "maxinactive"
putfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
11: aload 0
ldc "lastaccess"
putfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/session/DataSourceStore;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.name:Ljava/lang/String;
ifnonnull 13
1: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
astore 1
start local 1 2: aload 1
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: new java.lang.StringBuilder
dup
ldc "/"
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;
astore 2
5: StackMap locals: org.apache.catalina.Container java.lang.String
StackMap stack:
ldc ""
astore 3
start local 3 6: ldc ""
astore 4
start local 4 7: aload 1
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
ifnull 12
8: aload 1
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
astore 5
start local 5 9: aload 5
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
astore 3
10: aload 5
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
ifnull 12
11: aload 5
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
astore 4
end local 5 12: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.catalina.session.DataSourceStore.name:Ljava/lang/String;
end local 4 end local 3 end local 2 end local 1 13: StackMap locals: org.apache.catalina.session.DataSourceStore
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/session/DataSourceStore;
2 13 1 container Lorg/apache/catalina/Container;
3 13 2 contextName Ljava/lang/String;
6 13 3 hostName Ljava/lang/String;
7 13 4 engineName Ljava/lang/String;
9 12 5 host Lorg/apache/catalina/Container;
public java.lang.String getStoreName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "dataSourceStore"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionTable(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionTable"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionTable Ljava/lang/String;
1 7 2 oldSessionTable Ljava/lang/String;
MethodParameters:
Name Flags
sessionTable
public java.lang.String getSessionTable();
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.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionAppCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionAppCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionAppCol Ljava/lang/String;
1 7 2 oldSessionAppCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionAppCol
public java.lang.String getSessionAppCol();
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.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionIdCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionIdCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionIdCol Ljava/lang/String;
1 7 2 oldSessionIdCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionIdCol
public java.lang.String getSessionIdCol();
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.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionDataCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionDataCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionDataCol Ljava/lang/String;
1 7 2 oldSessionDataCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionDataCol
public java.lang.String getSessionDataCol();
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.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionValidCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionValidCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionValidCol Ljava/lang/String;
1 7 2 oldSessionValidCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionValidCol
public java.lang.String getSessionValidCol();
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.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionMaxInactiveCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionMaxInactiveCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionMaxInactiveCol Ljava/lang/String;
1 7 2 oldSessionMaxInactiveCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionMaxInactiveCol
public java.lang.String getSessionMaxInactiveCol();
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.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setSessionLastAccessedCol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.support:Ljava/beans/PropertyChangeSupport;
ldc "sessionLastAccessedCol"
3: aload 2
4: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 sessionLastAccessedCol Ljava/lang/String;
1 7 2 oldSessionLastAccessedCol Ljava/lang/String;
MethodParameters:
Name Flags
sessionLastAccessedCol
public java.lang.String getSessionLastAccessedCol();
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.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setDataSourceName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
2: getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".missingDataSourceName"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/DataSourceStore;
0 7 1 dataSourceName Ljava/lang/String;
MethodParameters:
Name Flags
dataSourceName
public java.lang.String getDataSourceName();
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.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public boolean getLocalDataSource();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
public void setLocalDataSource(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.catalina.session.DataSourceStore.localDataSource:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/DataSourceStore;
0 2 1 localDataSource Z
MethodParameters:
Name Flags
localDataSource
public java.lang.String[] expiredKeys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.catalina.session.DataSourceStore.keys:(Z)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
Exceptions:
throws java.io.IOException
public java.lang.String[] keys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.catalina.session.DataSourceStore.keys:(Z)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/DataSourceStore;
Exceptions:
throws java.io.IOException
private java.lang.String[] keys(boolean);
descriptor: (Z)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iconst_2
istore 3
start local 3 2: goto 48
3: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: iconst_0
anewarray java.lang.String
areturn
6: StackMap locals: java.sql.Connection
StackMap stack:
new java.lang.StringBuilder
dup
ldc "SELECT "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " FROM "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " WHERE "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 9: iload 1
ifeq 13
10: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " AND ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " + "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " * 1000 < ?)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
13: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
14: aload 4
aload 5
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 8
start local 8 15: aload 8
iconst_1
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
16: iload 1
ifeq 18
17: aload 8
iconst_2
invokestatic java.lang.System.currentTimeMillis:()J
invokeinterface java.sql.PreparedStatement.setLong:(IJ)V
18: StackMap locals: java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement
StackMap stack:
aconst_null
astore 9
aconst_null
astore 10
19: aload 8
invokeinterface java.sql.PreparedStatement.executeQuery:()Ljava/sql/ResultSet;
astore 11
start local 11 20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 12
start local 12 21: aload 11
ifnull 25
22: goto 24
23: StackMap locals: org.apache.catalina.session.DataSourceStore int java.lang.String[] int java.sql.Connection java.lang.String java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement java.lang.Throwable java.lang.Throwable java.sql.ResultSet java.util.List
StackMap stack:
aload 12
aload 11
iconst_1
invokeinterface java.sql.ResultSet.getString:(I)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.sql.ResultSet.next:()Z
ifne 23
25: StackMap locals:
StackMap stack:
aload 12
iconst_0
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 2
26: iconst_0
istore 3
end local 12 27: aload 11
ifnull 33
aload 11
invokeinterface java.sql.ResultSet.close:()V
goto 33
StackMap locals: org.apache.catalina.session.DataSourceStore int java.lang.String[] int java.sql.Connection java.lang.String java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement java.lang.Throwable java.lang.Throwable java.sql.ResultSet
StackMap stack: java.lang.Throwable
28: astore 9
aload 11
ifnull 29
aload 11
invokeinterface java.sql.ResultSet.close:()V
end local 11 StackMap locals:
StackMap stack:
29: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 10
aload 9
ifnonnull 31
aload 10
astore 9
goto 32
StackMap locals:
StackMap stack:
31: aload 9
aload 10
if_acmpeq 32
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
32: aload 9
athrow
33: StackMap locals:
StackMap stack:
aload 8
ifnull 46
aload 8
invokeinterface java.sql.PreparedStatement.close:()V
goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 6
aload 8
ifnull 35
aload 8
invokeinterface java.sql.PreparedStatement.close:()V
end local 8 StackMap locals:
StackMap stack:
35: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 7
aload 6
ifnonnull 37
aload 7
astore 6
goto 38
StackMap locals:
StackMap stack:
37: aload 6
aload 7
if_acmpeq 38
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
38: aload 6
athrow
end local 5 39: StackMap locals: org.apache.catalina.session.DataSourceStore int java.lang.String[] int java.sql.Connection
StackMap stack: java.sql.SQLException
astore 5
start local 5 40: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
41: iconst_0
anewarray java.lang.String
astore 2
end local 5 42: aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 47
43: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
44: aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
45: aload 13
athrow
46: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
47: StackMap locals:
StackMap stack:
iinc 3 -1
end local 4 48: StackMap locals:
StackMap stack:
iload 3
ifgt 3
49: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lorg/apache/catalina/session/DataSourceStore;
0 50 1 expiredOnly Z
1 50 2 keys [Ljava/lang/String;
2 50 3 numberOfTries I
4 48 4 _conn Ljava/sql/Connection;
9 39 5 keysSql Ljava/lang/String;
15 35 8 preparedKeysSql Ljava/sql/PreparedStatement;
20 29 11 rst Ljava/sql/ResultSet;
21 27 12 tmpkeys Ljava/util/List<Ljava/lang/String;>;
40 42 5 e Ljava/sql/SQLException;
Exception table:
from to target type
20 27 28 any
19 30 30 any
15 33 34 any
14 36 36 any
6 39 39 Class java.sql.SQLException
6 42 43 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
expiredOnly
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "SELECT COUNT("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ") FROM "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " WHERE "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 5: iconst_2
istore 3
start local 3 6: goto 38
7: StackMap locals: int java.lang.String int
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 4
start local 4 8: aload 4
ifnonnull 10
9: iload 1
ireturn
10: StackMap locals: java.sql.Connection
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
11: aload 4
aload 2
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 7
start local 7 12: aload 7
iconst_1
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
13: aconst_null
astore 8
aconst_null
astore 9
14: aload 7
invokeinterface java.sql.PreparedStatement.executeQuery:()Ljava/sql/ResultSet;
astore 10
start local 10 15: aload 10
invokeinterface java.sql.ResultSet.next:()Z
ifeq 17
16: aload 10
iconst_1
invokeinterface java.sql.ResultSet.getInt:(I)I
istore 1
17: StackMap locals: org.apache.catalina.session.DataSourceStore int java.lang.String int java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement java.lang.Throwable java.lang.Throwable java.sql.ResultSet
StackMap stack:
iconst_0
istore 3
18: aload 10
ifnull 24
aload 10
invokeinterface java.sql.ResultSet.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 8
aload 10
ifnull 20
aload 10
invokeinterface java.sql.ResultSet.close:()V
end local 10 StackMap locals:
StackMap stack:
20: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 9
aload 8
ifnonnull 22
aload 9
astore 8
goto 23
StackMap locals:
StackMap stack:
22: aload 8
aload 9
if_acmpeq 23
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 8
athrow
24: StackMap locals:
StackMap stack:
aload 7
ifnull 36
aload 7
invokeinterface java.sql.PreparedStatement.close:()V
goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 5
aload 7
ifnull 26
aload 7
invokeinterface java.sql.PreparedStatement.close:()V
end local 7 StackMap locals:
StackMap stack:
26: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 6
aload 5
ifnonnull 28
aload 6
astore 5
goto 29
StackMap locals:
StackMap stack:
28: aload 5
aload 6
if_acmpeq 29
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
29: aload 5
athrow
StackMap locals: org.apache.catalina.session.DataSourceStore int java.lang.String int java.sql.Connection
StackMap stack: java.sql.SQLException
30: astore 5
start local 5 31: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 5 32: aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 37
33: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
34: aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
35: aload 11
athrow
36: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
37: StackMap locals:
StackMap stack:
iinc 3 -1
end local 4 38: StackMap locals:
StackMap stack:
iload 3
ifgt 7
39: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/catalina/session/DataSourceStore;
1 40 1 size I
5 40 2 sizeSql Ljava/lang/String;
6 40 3 numberOfTries I
8 38 4 _conn Ljava/sql/Connection;
12 26 7 preparedSizeSql Ljava/sql/PreparedStatement;
15 20 10 rst Ljava/sql/ResultSet;
31 32 5 e Ljava/sql/SQLException;
Exception table:
from to target type
15 18 19 any
14 21 21 any
12 24 25 any
11 27 27 any
10 30 30 Class java.sql.SQLException
10 32 33 any
Exceptions:
throws java.io.IOException
public org.apache.catalina.Session load(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Session;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=19, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getManager:()Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
astore 3
start local 3 2: aload 3
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
astore 4
start local 4 3: iconst_2
istore 5
start local 5 4: new java.lang.StringBuilder
dup
ldc "SELECT "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " FROM "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc " WHERE "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ? AND "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 9: goto 63
10: StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String org.apache.catalina.session.StandardSession org.apache.catalina.Context org.apache.juli.logging.Log int java.lang.String
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 7
start local 7 11: aload 7
ifnonnull 13
12: aconst_null
areturn
13: StackMap locals: java.sql.Connection
StackMap stack:
aload 3
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aconst_null
invokeinterface org.apache.catalina.Context.bind:(ZLjava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 8
start local 8 14: aconst_null
astore 9
aconst_null
astore 10
15: aload 7
aload 6
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 11
start local 11 16: aload 11
iconst_1
aload 1
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
17: aload 11
iconst_2
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
18: aconst_null
astore 12
aconst_null
astore 13
19: aload 11
invokeinterface java.sql.PreparedStatement.executeQuery:()Ljava/sql/ResultSet;
astore 14
start local 14 20: aload 14
invokeinterface java.sql.ResultSet.next:()Z
ifeq 37
21: aconst_null
astore 15
aconst_null
astore 16
22: aload 0
aload 14
iconst_2
invokeinterface java.sql.ResultSet.getBinaryStream:(I)Ljava/io/InputStream;
invokevirtual org.apache.catalina.session.DataSourceStore.getObjectInputStream:(Ljava/io/InputStream;)Ljava/io/ObjectInputStream;
23: astore 17
start local 17 24: aload 4
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 28
25: aload 4
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
26: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".loading"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
aastore
27: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
28: StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String org.apache.catalina.session.StandardSession org.apache.catalina.Context org.apache.juli.logging.Log int java.lang.String java.sql.Connection java.lang.ClassLoader java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement java.lang.Throwable java.lang.Throwable java.sql.ResultSet java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.createEmptySession:()Lorg/apache/catalina/Session;
checkcast org.apache.catalina.session.StandardSession
astore 2
29: aload 2
aload 17
invokevirtual org.apache.catalina.session.StandardSession.readObjectData:(Ljava/io/ObjectInputStream;)V
30: aload 2
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokevirtual org.apache.catalina.session.StandardSession.setManager:(Lorg/apache/catalina/Manager;)V
31: aload 17
ifnull 39
aload 17
invokevirtual java.io.ObjectInputStream.close:()V
goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 15
aload 17
ifnull 33
aload 17
invokevirtual java.io.ObjectInputStream.close:()V
end local 17 StackMap locals:
StackMap stack:
33: aload 15
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 16
aload 15
ifnonnull 35
aload 16
astore 15
goto 36
StackMap locals:
StackMap stack:
35: aload 15
aload 16
if_acmpeq 36
aload 15
aload 16
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
36: aload 15
athrow
37: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 39
38: aload 4
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": No persisted data object found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
39: StackMap locals:
StackMap stack:
iconst_0
istore 5
40: aload 14
ifnull 46
aload 14
invokeinterface java.sql.ResultSet.close:()V
goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
41: astore 12
aload 14
ifnull 42
aload 14
invokeinterface java.sql.ResultSet.close:()V
end local 14 StackMap locals:
StackMap stack:
42: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
43: astore 13
aload 12
ifnonnull 44
aload 13
astore 12
goto 45
StackMap locals:
StackMap stack:
44: aload 12
aload 13
if_acmpeq 45
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
45: aload 12
athrow
46: StackMap locals:
StackMap stack:
aload 11
ifnull 60
aload 11
invokeinterface java.sql.PreparedStatement.close:()V
goto 60
StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 9
aload 11
ifnull 48
aload 11
invokeinterface java.sql.PreparedStatement.close:()V
end local 11 StackMap locals:
StackMap stack:
48: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
49: astore 10
aload 9
ifnonnull 50
aload 10
astore 9
goto 51
StackMap locals:
StackMap stack:
50: aload 9
aload 10
if_acmpeq 51
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
51: aload 9
athrow
StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String org.apache.catalina.session.StandardSession org.apache.catalina.Context org.apache.juli.logging.Log int java.lang.String java.sql.Connection java.lang.ClassLoader
StackMap stack: java.sql.SQLException
52: astore 9
start local 9 53: aload 4
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 9 54: aload 3
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 8
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
55: aload 0
aload 7
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 62
56: StackMap locals:
StackMap stack: java.lang.Throwable
astore 18
57: aload 3
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 8
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
58: aload 0
aload 7
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
59: aload 18
athrow
60: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 8
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
61: aload 0
aload 7
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
62: StackMap locals:
StackMap stack:
iinc 5 -1
end local 8 end local 7 63: StackMap locals:
StackMap stack:
iload 5
ifgt 10
64: aload 2
areturn
end local 6 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 65 0 this Lorg/apache/catalina/session/DataSourceStore;
0 65 1 id Ljava/lang/String;
1 65 2 _session Lorg/apache/catalina/session/StandardSession;
2 65 3 context Lorg/apache/catalina/Context;
3 65 4 contextLog Lorg/apache/juli/logging/Log;
4 65 5 numberOfTries I
9 65 6 loadSql Ljava/lang/String;
11 63 7 _conn Ljava/sql/Connection;
14 63 8 oldThreadContextCL Ljava/lang/ClassLoader;
16 48 11 preparedLoadSql Ljava/sql/PreparedStatement;
20 42 14 rst Ljava/sql/ResultSet;
24 33 17 ois Ljava/io/ObjectInputStream;
53 54 9 e Ljava/sql/SQLException;
Exception table:
from to target type
24 31 32 any
22 34 34 any
20 40 41 any
19 43 43 any
16 46 47 any
15 49 49 any
14 52 52 Class java.sql.SQLException
14 54 56 any
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
id
public void remove(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: iconst_2
istore 2
start local 2 1: goto 16
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: return
5: StackMap locals: java.sql.Connection
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.remove:(Ljava/lang/String;Ljava/sql/Connection;)V
6: iconst_0
istore 2
7: goto 14
StackMap locals:
StackMap stack: java.sql.SQLException
8: astore 4
start local 4 9: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 4 10: aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 15
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
12: aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
13: aload 5
athrow
14: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
15: StackMap locals:
StackMap stack:
iinc 2 -1
end local 3 16: StackMap locals:
StackMap stack:
iload 2
ifgt 2
17: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 19
18: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".removing"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/session/DataSourceStore;
0 20 1 id Ljava/lang/String;
1 20 2 numberOfTries I
3 16 3 _conn Ljava/sql/Connection;
9 10 4 e Ljava/sql/SQLException;
Exception table:
from to target type
5 7 8 Class java.sql.SQLException
5 10 11 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
id
private void remove(java.lang.String, java.sql.Connection);
descriptor: (Ljava/lang/String;Ljava/sql/Connection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
ldc "DELETE FROM "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc " WHERE "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ? AND "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 4: aconst_null
astore 4
aconst_null
astore 5
5: aload 2
aload 3
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 6
start local 6 6: aload 6
iconst_1
aload 1
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
7: aload 6
iconst_2
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
8: aload 6
invokeinterface java.sql.PreparedStatement.execute:()Z
pop
9: aload 6
ifnull 15
aload 6
invokeinterface java.sql.PreparedStatement.close:()V
goto 15
StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String java.sql.Connection java.lang.String java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement
StackMap stack: java.lang.Throwable
10: astore 4
aload 6
ifnull 11
aload 6
invokeinterface java.sql.PreparedStatement.close:()V
end local 6 StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
aload 4
ifnonnull 13
aload 5
astore 4
goto 14
StackMap locals:
StackMap stack:
13: aload 4
aload 5
if_acmpeq 14
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 4
athrow
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/catalina/session/DataSourceStore;
0 16 1 id Ljava/lang/String;
0 16 2 _conn Ljava/sql/Connection;
4 16 3 removeSql Ljava/lang/String;
6 11 6 preparedRemoveSql Ljava/sql/PreparedStatement;
Exception table:
from to target type
6 9 10 any
5 12 12 any
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
id
_conn
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DELETE FROM "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc " WHERE "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = ?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 3: iconst_2
istore 2
start local 2 4: goto 27
5: StackMap locals: java.lang.String int
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: return
8: StackMap locals: java.sql.Connection
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
9: aload 3
aload 1
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 6
start local 6 10: aload 6
iconst_1
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
11: aload 6
invokeinterface java.sql.PreparedStatement.execute:()Z
pop
12: iconst_0
istore 2
13: aload 6
ifnull 25
aload 6
invokeinterface java.sql.PreparedStatement.close:()V
goto 25
StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String int java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement
StackMap stack: java.lang.Throwable
14: astore 4
aload 6
ifnull 15
aload 6
invokeinterface java.sql.PreparedStatement.close:()V
end local 6 StackMap locals:
StackMap stack:
15: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 5
aload 4
ifnonnull 17
aload 5
astore 4
goto 18
StackMap locals:
StackMap stack:
17: aload 4
aload 5
if_acmpeq 18
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 4
athrow
StackMap locals: org.apache.catalina.session.DataSourceStore java.lang.String int java.sql.Connection
StackMap stack: java.sql.SQLException
19: astore 4
start local 4 20: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 4 21: aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 26
22: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
23: aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
24: aload 7
athrow
25: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
26: StackMap locals:
StackMap stack:
iinc 2 -1
end local 3 27: StackMap locals:
StackMap stack:
iload 2
ifgt 5
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/catalina/session/DataSourceStore;
3 29 1 clearSql Ljava/lang/String;
4 29 2 numberOfTries I
6 27 3 _conn Ljava/sql/Connection;
10 15 6 preparedClearSql Ljava/sql/PreparedStatement;
20 21 4 e Ljava/sql/SQLException;
Exception table:
from to target type
10 13 14 any
9 16 16 any
8 19 19 Class java.sql.SQLException
8 21 22 any
Exceptions:
throws java.io.IOException
public void save(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.lang.StringBuilder
dup
ldc "INSERT INTO "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionIdCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionAppCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionDataCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionValidCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionMaxInactiveCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionLastAccessedCol:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ") VALUES (?, ?, ?, ?, ?, ?)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 8: aload 1
dup
astore 4
monitorenter
9: iconst_2
istore 5
start local 5 10: goto 69
11: StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session int
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getConnection:()Ljava/sql/Connection;
astore 6
start local 6 12: aload 6
ifnonnull 15
13: aload 4
monitorexit
14: return
15: StackMap locals: java.sql.Connection
StackMap stack:
aload 0
aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.session.DataSourceStore.remove:(Ljava/lang/String;Ljava/sql/Connection;)V
16: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
17: aconst_null
astore 7
aconst_null
astore 8
18: new java.io.ObjectOutputStream
dup
new java.io.BufferedOutputStream
dup
aload 2
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
19: astore 9
start local 9 20: aload 1
checkcast org.apache.catalina.session.StandardSession
aload 9
invokevirtual org.apache.catalina.session.StandardSession.writeObjectData:(Ljava/io/ObjectOutputStream;)V
21: aload 9
ifnull 27
aload 9
invokevirtual java.io.ObjectOutputStream.close:()V
goto 27
StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session int java.sql.Connection java.lang.Throwable java.lang.Throwable java.io.ObjectOutputStream
StackMap stack: java.lang.Throwable
22: astore 7
aload 9
ifnull 23
aload 9
invokevirtual java.io.ObjectOutputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
23: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 8
aload 7
ifnonnull 25
aload 8
astore 7
goto 26
StackMap locals:
StackMap stack:
25: aload 7
aload 8
if_acmpeq 26
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 7
athrow
27: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 7
start local 7 28: aload 7
arraylength
istore 8
start local 8 29: aconst_null
astore 9
aconst_null
astore 10
30: new java.io.ByteArrayInputStream
dup
aload 7
iconst_0
iload 8
invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
astore 11
start local 11 31: new java.io.BufferedInputStream
dup
aload 11
iload 8
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
astore 12
start local 12 32: aload 6
aload 3
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 13
start local 13 33: aload 13
iconst_1
aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
34: aload 13
iconst_2
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getName:()Ljava/lang/String;
invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
35: aload 13
iconst_3
aload 12
iload 8
invokeinterface java.sql.PreparedStatement.setBinaryStream:(ILjava/io/InputStream;I)V
36: aload 13
iconst_4
aload 1
invokeinterface org.apache.catalina.Session.isValid:()Z
ifeq 37
ldc "1"
goto 38
StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session int java.sql.Connection byte[] int java.lang.Throwable java.lang.Throwable java.io.ByteArrayInputStream java.io.InputStream java.sql.PreparedStatement
StackMap stack: java.sql.PreparedStatement int
37: ldc "0"
StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session int java.sql.Connection byte[] int java.lang.Throwable java.lang.Throwable java.io.ByteArrayInputStream java.io.InputStream java.sql.PreparedStatement
StackMap stack: java.sql.PreparedStatement int java.lang.String
38: invokeinterface java.sql.PreparedStatement.setString:(ILjava/lang/String;)V
39: aload 13
iconst_5
aload 1
invokeinterface org.apache.catalina.Session.getMaxInactiveInterval:()I
invokeinterface java.sql.PreparedStatement.setInt:(II)V
40: aload 13
bipush 6
aload 1
invokeinterface org.apache.catalina.Session.getLastAccessedTime:()J
invokeinterface java.sql.PreparedStatement.setLong:(IJ)V
41: aload 13
invokeinterface java.sql.PreparedStatement.execute:()Z
pop
42: iconst_0
istore 5
43: aload 13
ifnull 46
aload 13
invokeinterface java.sql.PreparedStatement.close:()V
goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
44: astore 9
aload 13
ifnull 45
aload 13
invokeinterface java.sql.PreparedStatement.close:()V
end local 13 StackMap locals:
StackMap stack:
45: aload 9
athrow
StackMap locals:
StackMap stack:
46: aload 12
ifnull 51
aload 12
invokevirtual java.io.InputStream.close:()V
goto 51
StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 10
aload 9
ifnonnull 48
aload 10
astore 9
goto 49
StackMap locals:
StackMap stack:
48: aload 9
aload 10
if_acmpeq 49
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
49: aload 12
ifnull 50
aload 12
invokevirtual java.io.InputStream.close:()V
end local 12 StackMap locals:
StackMap stack:
50: aload 9
athrow
StackMap locals:
StackMap stack:
51: aload 11
ifnull 67
aload 11
invokevirtual java.io.ByteArrayInputStream.close:()V
goto 67
StackMap locals:
StackMap stack: java.lang.Throwable
52: astore 10
aload 9
ifnonnull 53
aload 10
astore 9
goto 54
StackMap locals:
StackMap stack:
53: aload 9
aload 10
if_acmpeq 54
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
54: aload 11
ifnull 55
aload 11
invokevirtual java.io.ByteArrayInputStream.close:()V
end local 11 StackMap locals:
StackMap stack:
55: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
56: astore 10
aload 9
ifnonnull 57
aload 10
astore 9
goto 58
StackMap locals:
StackMap stack:
57: aload 9
aload 10
if_acmpeq 58
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
58: aload 9
athrow
end local 8 end local 7 59: StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session int java.sql.Connection
StackMap stack: java.sql.SQLException
astore 7
start local 7 60: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".SQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 7 61: aload 0
aload 6
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 68
62: StackMap locals:
StackMap stack: java.io.IOException
pop
63: aload 0
aload 6
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
goto 68
64: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
65: aload 0
aload 6
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
66: aload 14
athrow
67: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.catalina.session.DataSourceStore.release:(Ljava/sql/Connection;)V
68: StackMap locals:
StackMap stack:
iinc 5 -1
end local 6 69: StackMap locals:
StackMap stack:
iload 5
ifgt 11
end local 5 70: aload 4
monitorexit
71: goto 74
StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Session java.io.ByteArrayOutputStream java.lang.String org.apache.catalina.Session
StackMap stack: java.lang.Throwable
72: aload 4
monitorexit
73: athrow
74: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 78
75: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".saving"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
76: aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.session.DataSourceStore.sessionTable:Ljava/lang/String;
aastore
77: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
78: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 79 0 this Lorg/apache/catalina/session/DataSourceStore;
0 79 1 session Lorg/apache/catalina/Session;
1 79 2 bos Ljava/io/ByteArrayOutputStream;
8 79 3 saveSql Ljava/lang/String;
10 70 5 numberOfTries I
12 69 6 _conn Ljava/sql/Connection;
20 23 9 oos Ljava/io/ObjectOutputStream;
28 59 7 obs [B
29 59 8 size I
31 55 11 bis Ljava/io/ByteArrayInputStream;
32 50 12 in Ljava/io/InputStream;
33 45 13 preparedSaveSql Ljava/sql/PreparedStatement;
60 61 7 e Ljava/sql/SQLException;
Exception table:
from to target type
20 21 22 any
18 24 24 any
33 43 44 any
32 46 47 any
31 51 52 any
30 56 56 any
15 59 59 Class java.sql.SQLException
15 59 62 Class java.io.IOException
15 61 64 any
62 63 64 any
9 14 72 any
15 71 72 any
72 73 72 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
session
protected java.sql.Connection getConnection();
descriptor: ()Ljava/sql/Connection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.open:()Ljava/sql/Connection;
astore 1
2: aload 1
ifnull 3
aload 1
invokeinterface java.sql.Connection.isClosed:()Z
ifeq 12
3: StackMap locals: java.sql.Connection
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".checkConnectionDBClosed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
4: aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.open:()Ljava/sql/Connection;
astore 1
5: aload 1
ifnull 6
aload 1
invokeinterface java.sql.Connection.isClosed:()Z
ifeq 12
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".checkConnectionDBReOpenFail"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
7: goto 12
StackMap locals:
StackMap stack: java.sql.SQLException
8: astore 2
start local 2 9: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".checkConnectionSQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 2
invokevirtual java.sql.SQLException.toString:()Ljava/lang/String;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 2 12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/session/DataSourceStore;
1 13 1 conn Ljava/sql/Connection;
9 12 2 ex Ljava/sql/SQLException;
Exception table:
from to target type
1 7 8 Class java.sql.SQLException
protected java.sql.Connection open();
descriptor: ()Ljava/sql/Connection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
ifnull 24
aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
ifnonnull 24
1: aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getManager:()Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aload 0
getfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
ifeq 5
4: aload 1
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aconst_null
invokeinterface org.apache.catalina.Context.bind:(ZLjava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 2
5: StackMap locals: org.apache.catalina.Context java.lang.ClassLoader
StackMap stack:
new javax.naming.InitialContext
dup
invokespecial javax.naming.InitialContext.<init>:()V
astore 3
start local 3 6: aload 3
ldc "java:comp/env"
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.Context
astore 4
start local 4 7: aload 0
aload 4
aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.sql.DataSource
putfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
end local 4 end local 3 8: goto 22
StackMap locals:
StackMap stack: javax.naming.NamingException
9: astore 4
start local 4 10: aload 1
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
11: getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".wrongDataSource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSourceName:Ljava/lang/String;
aastore
13: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
14: aload 4
15: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 16: aload 0
getfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
ifeq 24
17: aload 1
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 2
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
goto 24
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
19: aload 0
getfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
ifeq 21
20: aload 1
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 2
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
21: StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Context java.lang.ClassLoader top top java.lang.Throwable
StackMap stack:
aload 5
athrow
22: StackMap locals: org.apache.catalina.session.DataSourceStore org.apache.catalina.Context java.lang.ClassLoader
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.localDataSource:Z
ifeq 24
23: aload 1
getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
aload 2
invokeinterface org.apache.catalina.Context.unbind:(ZLjava/lang/ClassLoader;)V
end local 2 end local 1 24: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
ifnull 26
25: aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
invokeinterface javax.sql.DataSource.getConnection:()Ljava/sql/Connection;
areturn
26: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".missingDataSource"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/apache/catalina/session/DataSourceStore;
2 24 1 context Lorg/apache/catalina/Context;
3 24 2 oldThreadContextCL Ljava/lang/ClassLoader;
6 8 3 initCtx Ljavax/naming/Context;
7 8 4 envCtx Ljavax/naming/Context;
10 16 4 e Ljavax/naming/NamingException;
Exception table:
from to target type
5 8 9 Class javax.naming.NamingException
5 16 18 any
Exceptions:
throws java.sql.SQLException
protected void close(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.sql.Connection.getAutoCommit:()Z
ifne 7
3: aload 1
invokeinterface java.sql.Connection.commit:()V
4: goto 7
StackMap locals:
StackMap stack: java.sql.SQLException
5: astore 2
start local 2 6: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".commitSQLException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.sql.Connection.close:()V
8: goto 11
StackMap locals:
StackMap stack: java.sql.SQLException
9: astore 2
start local 2 10: aload 0
getfield org.apache.catalina.session.DataSourceStore.manager:Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.DataSourceStore.sm:Lorg/apache/tomcat/util/res/StringManager;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.session.DataSourceStore.getStoreName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".close"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.sql.SQLException.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/session/DataSourceStore;
0 12 1 dbConnection Ljava/sql/Connection;
6 7 2 e Ljava/sql/SQLException;
10 11 2 e Ljava/sql/SQLException;
Exception table:
from to target type
2 4 5 Class java.sql.SQLException
7 8 9 Class java.sql.SQLException
MethodParameters:
Name Flags
dbConnection
protected void release(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.DataSourceStore.dataSource:Ljavax/sql/DataSource;
ifnull 2
1: aload 0
aload 1
invokevirtual org.apache.catalina.session.DataSourceStore.close:(Ljava/sql/Connection;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/session/DataSourceStore;
0 3 1 conn Ljava/sql/Connection;
MethodParameters:
Name Flags
conn
}
SourceFile: "DataSourceStore.java"