
org.postgresql.osgi.PGDataSourceFactory.class Maven / Gradle / Ivy
The newest version!
???? 4 ?
f g h
i j
i k
l m n
l o p
q r
l s t
l u v
l w x
l y
i z { | } ~ } ? ? ? ?
l ?
i ? ? ? ?
i ?
? ? ? ?
? ?
# f ?
% f ?
% ? ?
% ? ?
% ?
; ? ?
. f ?
0 ? ? ? ?
; ?
; ? ?
7 f ?
9 f ? SingleUseProperties InnerClasses ()V Code LineNumberTable LocalVariableTable this )Lorg/postgresql/osgi/PGDataSourceFactory; configureBaseDataSource B(Lorg/postgresql/ds/common/BaseDataSource;Ljava/util/Properties;)V entry Entry Ljava/util/Map$Entry; ds )Lorg/postgresql/ds/common/BaseDataSource; props Ljava/util/Properties; LocalVariableTypeTable ;Ljava/util/Map$Entry;
StackMapTable ?
Exceptions ? createDriver )(Ljava/util/Properties;)Ljava/sql/Driver; createPoolingDataSource .(Ljava/util/Properties;)Ljavax/sql/DataSource;
dataSource 1Lorg/postgresql/jdbc2/optional/PoolingDataSource; ? createSimpleDataSource 0Lorg/postgresql/jdbc2/optional/SimpleDataSource; createDataSource createConnectionPoolDataSource <(Ljava/util/Properties;)Ljavax/sql/ConnectionPoolDataSource; .Lorg/postgresql/jdbc2/optional/ConnectionPool; createXADataSource 0(Ljava/util/Properties;)Ljavax/sql/XADataSource; "Lorg/postgresql/xa/PGXADataSource;
SourceFile PGDataSourceFactory.java > ? 'org/osgi/service/jdbc/DataSourceFactory url ? ? ? ? ? ? ? ?
serverName ? ?
portNumber ? ? ? ? ? databaseName ? ? user ? ? password ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/Map$Entry ? ? java/lang/String ? ? ? ? ? ? !org/postgresql/util/PSQLException Unsupported properties: {0} java/lang/Object ? ? ? ? ? ? ? ? > ? org/postgresql/Driver /org/postgresql/jdbc2/optional/PoolingDataSource initialPoolSize ? ? maxPoolSize ? ? dataSourceName ? ? E F .org/postgresql/jdbc2/optional/SimpleDataSource ;org/postgresql/osgi/PGDataSourceFactory$SingleUseProperties > ? minPoolSize maxIdleTime
maxStatements V W [ W ,org/postgresql/jdbc2/optional/ConnectionPool org/postgresql/xa/PGXADataSource 'org/postgresql/osgi/PGDataSourceFactory java/util/Iterator java/sql/SQLException java/util/Properties containsKey (Ljava/lang/Object;)Z getProperty &(Ljava/lang/String;)Ljava/lang/String; 'org/postgresql/ds/common/BaseDataSource setUrl (Ljava/lang/String;)V
setServerName java/lang/Integer parseInt (Ljava/lang/String;)I
setPortNumber (I)V setDatabaseName setUser setPassword entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object;
java/util/Map getKey getValue setProperty '(Ljava/lang/String;Ljava/lang/String;)V isEmpty stringPropertyNames org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState INVALID_PARAMETER_VALUE Lorg/postgresql/util/PSQLState; 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V setInitialConnections setMaxConnections setDataSourceName (Ljava/util/Properties;)V ! ; > ? @ / *? ? A B C D E F @ \ ?,? ?
+,? ? ,? ?
+,? ? , ? ? +, ? ?
? ,? ?
+,? ?
,? ?
+,? ? ,? ?
+,? ? ,? ? N-? ? )-? ? :+? ? ? ? ? ??Ա A B 8 9 ; <