All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jeeplus.database.datasource.DynamicDataSourceCreator.class Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
????48com/jeeplus/database/datasource/DynamicDataSourceCreatorjava/lang/ObjectubeLjava/lang/reflect/Method;KbALorg/springframework/jdbc/datasource/lookup/JndiDataSourceLookup;kLjava/lang/Boolean;MGMLcom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidConfig;chfILjava/lang/String;"com.zaxxer.hikari.HikariDataSourcedLorg/slf4j/Logger;Fja&com.alibaba.druid.pool.DruidDataSourceH0Lorg/springframework/context/ApplicationContext;8Lorg/springframework/beans/factory/annotation/Autowired;requiredB
ALLATORIxDEMOQLcom/jeeplus/database/datasource/spring/boot/autoconfigure/hikari/HikariCpConfig;setGlobalPublicKey(Ljava/lang/String;)V#	(:Lcom/jeeplus/database/datasource/DynamicDataSourceCreator;createHikariDataSourcef(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty;)Ljavax/sql/DataSource;Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty-getPublicKey()Ljava/lang/String;/0
.1$org/springframework/util/StringUtils3isEmpty(Ljava/lang/Object;)Z56
47setPublicKeyb(Ljava/lang/String;)Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty;9:
.;	getHikariS()Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/hikari/HikariCpConfig;=>
.?$%	AOcom/jeeplus/database/datasource/spring/boot/autoconfigure/hikari/HikariCpConfigCtoHikariConfigs(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/hikari/HikariCpConfig;)Lcom/zaxxer/hikari/HikariConfig;EF
DGgetUsernameI0
.Jcom/zaxxer/hikari/HikariConfigLsetUsernameN'
MOgetPasswordQ0
.RsetPasswordT'
MUgetUrlW0
.X
setJdbcUrlZ'
M[getDriverClassName]0
.^setDriverClassName`'
MagetPollNamec0
.dsetPoolNamef'
Mg"com/zaxxer/hikari/HikariDataSourcei#(Lcom/zaxxer/hikari/HikariConfig;)Vkl
jmNLcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty;setDruidGlobalConfigP(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidConfig;)V	rcreateBasicDataSourcejava/lang/Exceptionu	wjava/lang/reflect/Methodyinvoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;{|
z}	getType()Ljava/lang/Class;??
.?
	?	?	?	?	?javax/sql/DataSource?Hcom/jeeplus/database/datasource/exception/ErrorCreateDataSourceException?java/lang/StringBuilder?()Vk?
??/v\|DLqvDfDaJgWq@2F`@sQwpDaLqvDfDpDa@2KsHwA2?&(Ljava/lang/String;)Ljava/lang/String;$?
??insert.(ILjava/lang/String;)Ljava/lang/StringBuilder;??
??append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??.
|a?Ocom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidStatConfig?
??toString?0
??k'
??java/lang/Throwable?
?createJNDIDataSource*(Ljava/lang/String;)Ljavax/sql/DataSource;	
	??org/springframework/jdbc/datasource/lookup/JndiDataSourceLookup?
getDataSource??
??createDataSourcegetJndiName?0
.?java/lang/String?()Z5?
????
?	?java/lang/Boolean?booleanValue??
??createDruidDataSource?,
?	?+,
?t,
?java/lang/Class?getName?0
??equals?6
??	getSchema?0
.?hasText(Ljava/lang/String;)Z??
4?y(Ljavax/sql/DataSource;Ljava/lang/String;Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty;)V$?
?getData?0
.? java/lang/ClassNotFoundException?org/slf4j/LoggerFactory?	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;??
??	?
??valueOf(Z)Ljava/lang/Boolean;??
??/}WuaU`L|BtWsHwR}WypJ}Q?
?@(com/alibaba/druid/filter/stat/StatFilterB
C?configFromProperties(Ljava/util/Properties;)VEF
CGjava/util/ListIaddK6JLybNgetWallS()Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidWallConfig;PQ
+RScom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidWallConfigUtilTtoWallConfig?(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidWallConfig;Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/druid/DruidWallConfig;)Lcom/alibaba/druid/wall/WallConfig;VW
UX!com/alibaba/druid/wall/WallFilterZ
[?	setConfig&(Lcom/alibaba/druid/wall/WallConfig;)V]^
[_	agetProxyFilters()Ljava/util/List;cd
+eiterator()Ljava/util/Iterator;ghJijava/util/IteratorkhasNextm?lnnext()Ljava/lang/Object;pqlrcom/alibaba/druid/filter/Filtert.org/springframework/context/ApplicationContextvgetBean7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;xywzsetProxyFilters(Ljava/util/List;)V|}
~configFromPropety?F
?getConnectionProperties()Ljava/util/Properties;??
+?setConnectProperties?F
?getTestOnReturn()Ljava/lang/Boolean;??
+?
??setTestOnReturn(Z)V??
?getValidationQueryTimeout()Ljava/lang/Integer;??
+?java/lang/Integer?(I)Ljava/lang/Integer;??
??
??intValue()I??
??setValidationQueryTimeout?9
?getSharePreparedStatements??
+?setSharePreparedStatements??
?getConnectionErrorRetryAttempts??
+?setConnectionErrorRetryAttempts?9
?getBreakAfterAcquireFailure??
+?setBreakAfterAcquireFailure??
?getRemoveAbandonedTimeoutMillis??
+?setRemoveAbandonedTimeout?9
?getRemoveAbandoned??
+?setRemoveAbandoned??
?getLogAbandoned??
+?setLogAbandoned??
?init??
?A`P{A2F`@sQwwW`J`?*(Ljava/lang/String;Ljava/lang/Throwable;)Vk?
??Borg/springframework/jdbc/datasource/init/ResourceDatabasePopulator?
??isContinueOnError??
.?setContinueOnError??
??getSeparator?0
.?setSeparator?'
??-org/springframework/core/io/ClassPathResource?
??exists??
??	addScript)(Lorg/springframework/core/io/Resource;)V??
???org/springframework/jdbc/datasource/init/DatabasePopulatorUtils?executeU(Lorg/springframework/jdbc/datasource/init/DatabasePopulator;Ljavax/sql/DataSource;)V??
??
v
mz
..
|a?org/slf4j/Logger?warn????%qJgIv|JftL|A2VqMwHs}W2AsQstL~@2^o?'(Ljava/lang/String;Ljava/lang/Object;)V????Ljavax/sql/DataSource;setHikariGlobalConfigT(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/hikari/HikariCpConfig;)V
ConstantValueRuntimeVisibleAnnotationsCodeLineNumberTableLocalVariableTable
StackMapTable
SourceFile!

	






?

?? !Z"#$%&':*+?)?h*+,?
P+?2?8?+*?)?D)MXVTc<m?|M?????????^??K???*?o??)?????Y????????????K????K*??L*????K*??L*??*????YX??x*
????YXY?S???*????YXY?S???*????YXY?S???*????YXY?S???*????YXY?S???*????YX????L+??W???ǧK?W???ѱK?"+0v5?DvI??v???Lo???vA?????v@???vO??M??!0F? ?"?,%01 5?;?@?DEkI?]*vP?'?????$?d???[?s?y??R
Zg???,c	?+?2?8?+*?)?bDsIQS^?hB~?D???k?T?????&?\?????*?-?3?FRK?\?a?b
s?x?8????L????z?Z???]???h??????a?%E)?-?5@KPO?W[bm?qry?~f`?????*?o$?Ca,??\??Y??:-Z-?նض۶޻?Y,??YN??#-??+?L????+?????????,???7=?vX?>??????v??????????:?lt?!	+01?7?=???@>O?Q`,*a*a?aao??:*+?B??*%




© 2015 - 2025 Weber Informatics LLC | Privacy Policy