
org.postgresql.ds.jdbc23.AbstractJdbc23PoolingDataSource.class Maven / Gradle / Ivy
???? 27 X ? X ? X ?
Y ? X ? X ? X ? ?
? ?
? ?
? X ? X ? ? ? ? ?
? ?
? X ? ?
? ?
? ? ?
?
Y ?
Y ?
Y ?
Y ?
Y ?
? ?
X ? ? ? ?
$ ? ? ?
X ?
X ? X ?
6 ? ? ? ?
? ? ? ?
. ?
?
6 ?
? ?
6 ?
X ?
X ?
X ?
X ?
Y ?
X ?
? ?
? ? ?
? ?
X ? ? ? ?
. ? ? ?
? ? G G ?
Y ]
O
_
a
V ?
InnerClasses dataSources Ljava/util/Map; dataSourceName Ljava/lang/String; initialConnections I maxConnections initialized Z available Ljava/util/Stack; used lock Ljava/lang/Object; source .Lorg/postgresql/ds/PGConnectionPoolDataSource; connectionEventListener #Ljavax/sql/ConnectionEventListener; ()V Code LineNumberTable LocalVariableTable this :Lorg/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource;
getDataSource ;(Ljava/lang/String;)Lorg/postgresql/ds/PGPoolingDataSource; name getDescription ()Ljava/lang/String;
setServerName (Ljava/lang/String;)V
serverName
StackMapTable setDatabaseName databaseName setUser user setPassword password
setPortNumber (I)V
portNumber getInitialConnections ()I setInitialConnections getMaxConnections setMaxConnections getDataSourceName setDataSourceName ?
initialize e Ljava/lang/Exception; ?
Exceptions
isInitialized ()Z createConnectionPool 0()Lorg/postgresql/ds/PGConnectionPoolDataSource;
getConnection ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; ()Ljava/sql/Connection; close pci &Lorg/postgresql/ds/PGPooledConnection; ? ? removeStoredDataSource
addDataSource getPooledConnection pc Ljavax/sql/PooledConnection; ? ? getReference ()Ljavax/naming/Reference; ref Ljavax/naming/Reference;
access$000 N(Lorg/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource;)Ljava/lang/Object; x0
access$100 M(Lorg/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource;)Ljava/util/Stack;
access$200
SourceFile $AbstractJdbc23PoolingDataSource.java f e d e g h m n _ ` a ` b c java/util/Stack java/lang/Object :org/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource$1 m k l [ \ %org/postgresql/ds/PGPoolingDataSource java/lang/StringBuilder Pooling DataSource ' ] ^ from x x java/lang/IllegalStateException @Cannot set Data Source properties after DataSource has been used m z y z } z z ? z ? ? t u "java/lang/IllegalArgumentException DataSource with name ' ' already exists! ? z ? ? i j java/lang/Exception !org/postgresql/util/PSQLException Failed to setup DataSource. !" m#$ ? ?%& ,org/postgresql/ds/PGConnectionPoolDataSource' x( x ? ? ? n ? ? ? ?)* $org/postgresql/ds/PGPooledConnection ? n java/sql/SQLException+, ? n DataSource has been closed.-" m. javax/sql/PooledConnection/0 java/lang/InterruptedException1, ? ? javax/naming/StringRefAddr m23456 java/util/HashMap 8org/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource 'org/postgresql/ds/common/BaseDataSource java/lang/Throwable javax/naming/Reference javax/naming/NamingException =(Lorg/postgresql/ds/jdbc23/AbstractJdbc23PoolingDataSource;)V
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; org/postgresql/Driver
getVersion toString java/lang/String equals (Ljava/lang/Object;)Z remove initializeFrom ,(Lorg/postgresql/ds/common/BaseDataSource;)V org/postgresql/util/GT tr &(Ljava/lang/String;)Ljava/lang/String; org/postgresql/util/PSQLState UNEXPECTED_ERROR Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V size ()Ljavax/sql/PooledConnection; push getUser getPassword pop ()Ljava/lang/Object; removeConnectionEventListener &(Ljavax/sql/ConnectionEventListener;)V CONNECTION_DOES_NOT_EXIST 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V wait (J)V addConnectionEventListener '(Ljava/lang/String;Ljava/lang/String;)V add (Ljavax/naming/RefAddr;)V java/lang/Integer (I)Ljava/lang/String;! X Y
[ \ ] ^ _ ` a ` b c d e f e g h i j k l m n o ? A*? *? *? *? *? Y? ? *? Y? ? *?
Y? ? *? Y*?
? ? p " 2 = > @ A B ) C 4? q A r s t u o 7
? *? ? ? p 8 q
v ^ w x o L "? Y? ? *? ? ? ? ? ? ? p L q " r s y z o ` *? ?
? Y? ?*+? ? p Y [ ] ^ q r s { ^ | } z o ` *? ?
? Y? ?*+? ? p j l n o q r s ~ ^ | z o ` *? ?
? Y? ?*+? ? p { } ? q r s ? ^ | ? z o ` *? ?
? Y? ?*+? ? p ? ? ? ? q r s ? ^ | ? ? o ` *? ?
? Y? ?*? !? p ? ? ? ? q r s ? ` | ? ? o / *? ? p ? q r s ? ? o ` *? ?
? Y? ?*? ? p ? ? ? ? q r s _ ` | ? ? o / *? ? p ? q r s ? ? o ` *? ?
? Y? ?*? ? p ? ? ? ? q r s a ` | ? x o / *? ? p ? q r s ? z o
~*? ?
? Y? ?*? ? +? +*? ? "? ?? YM?+? #? #? $Y? Y? %? +? &? ? ? '?*? ? ? *? ? ( W*+? *+? ),ç N,?-?? . u x x { x p 6
? ? ? ' ( . 5 U \
i n
s } q ~ r s ~ ] ^ | ? , ?N ?? ? n o ? \*? YL?**? *? +*? +*? ,? M? .Y/? 0? 1,? 2?*? ? 3*? ? *? *? +? 4? 5W???*? +ç N+?-?? - S V V Y V p . ! % " # ,' :) L, Q- [. q ? ? \ r s | ? ? ? ?I ?? ? A ? ? o / *? ? p 1 q r s ? ? o 2 ? 6Y? 7? p 8 q r s ? ? o ? @+? (+*? 8? "? ",?
*? 9? ,? ,*? 9? "? *? :?*? ? *? ;*+,?