com.huawei.opengauss.jdbc.ds.common.PGObjectFactory.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? 3com/huawei/opengauss/jdbc/ds/common/PGObjectFactory java/lang/Object javax/naming/spi/ObjectFactory PGObjectFactory.java ()V
this 5Lcom/huawei/opengauss/jdbc/ds/common/PGObjectFactory; getObjectInstance d(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object; java/lang/Exception javax/naming/Reference getClassName ()Ljava/lang/String;
/com.huawei.opengauss.jdbc.ds.PGSimpleDataSource java/lang/String equals (Ljava/lang/Object;)Z
9com.huawei.opengauss.jdbc.jdbc2.optional.SimpleDataSource 5com.huawei.opengauss.jdbc.jdbc3.Jdbc3SimpleDataSource " loadSimpleDataSource ,(Ljavax/naming/Reference;)Ljava/lang/Object; $ %
& 7com.huawei.opengauss.jdbc.ds.PGConnectionPoolDataSource ( 7com.huawei.opengauss.jdbc.jdbc2.optional.ConnectionPool * 3com.huawei.opengauss.jdbc.jdbc3.Jdbc3ConnectionPool , loadConnectionPool . %
/ 0com.huawei.opengauss.jdbc.ds.PGPoolingDataSource 1 :com.huawei.opengauss.jdbc.jdbc2.optional.PoolingDataSource 3 6com.huawei.opengauss.jdbc.jdbc3.Jdbc3PoolingDataSource 5 loadPoolingDataSource 7 %
8 obj Ljava/lang/Object; name Ljavax/naming/Name; nameCtx Ljavax/naming/Context; environment Ljava/util/Hashtable<**>; Ljava/util/Hashtable; ref Ljavax/naming/Reference; className Ljava/lang/String; dataSourceName G getProperty >(Ljavax/naming/Reference;Ljava/lang/String;)Ljava/lang/String; I J
K 0com/huawei/opengauss/jdbc/ds/PGPoolingDataSource M
getDataSource F(Ljava/lang/String;)Lcom/huawei/opengauss/jdbc/ds/PGPoolingDataSource; O P
N Q
N
setDataSourceName (Ljava/lang/String;)V T U
N V loadBaseDataSource `(Lcom/huawei/opengauss/jdbc/ds/common/BaseDataSource;Ljavax/naming/Reference;)Ljava/lang/Object; X Y
Z initialConnections \ java/lang/Integer ^ parseInt (Ljava/lang/String;)I ` a
_ b setInitialConnections (I)V d e
N f maxConnections h setMaxConnections j e
N k pds 2Lcom/huawei/opengauss/jdbc/ds/PGPoolingDataSource; min max /com/huawei/opengauss/jdbc/ds/PGSimpleDataSource q
r
ds 1Lcom/huawei/opengauss/jdbc/ds/PGSimpleDataSource; 7com/huawei/opengauss/jdbc/ds/PGConnectionPoolDataSource v
w
cp 9Lcom/huawei/opengauss/jdbc/ds/PGConnectionPoolDataSource; 2com/huawei/opengauss/jdbc/ds/common/BaseDataSource { setFromReference (Ljavax/naming/Reference;)V } ~
| 4Lcom/huawei/opengauss/jdbc/ds/common/BaseDataSource; get *(Ljava/lang/String;)Ljavax/naming/RefAddr; ? ?
? javax/naming/RefAddr ?
getContent ()Ljava/lang/Object; ? ?
? ? s addr Ljavax/naming/RefAddr; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature h(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
SourceFile ! ? / *? ? ?
? ? D ~+? :? :? ? !? ?
#? ?
*? '?)? ? +? ?
-? ?
*? 0?2? ? 4? ?
6? ?
*? 9?? ? H ~
~ : ; ~ <