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

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

There is a newer version: 4.3
Show newest version
????4R8com/jeeplus/database/datasource/DynamicRoutingDataSource9com/jeeplus/database/datasource/AbstractRoutingDataSource2org/springframework/beans/factory/InitializingBean0org/springframework/beans/factory/DisposableBeandbjava/util/Map$Entry

java/util/MapEntryGLorg/slf4j/Logger;DLjava/lang/Class;XLjava/lang/Class<+Lcom/jeeplus/database/datasource/strategy/DynamicDataSourceStrategy;>;ILjava/util/Map;9Ljava/util/Map;EZg.Lorg/apache/ibatis/mapping/DatabaseIdProvider;HLjava/lang/String;_FDLcom/jeeplus/database/datasource/provider/DynamicDataSourceProvider;L[Ljava/util/Map;
ALLATORIxDEMOsetStrategy(Ljava/lang/Class;)V[(Ljava/lang/Class<+Lcom/jeeplus/database/datasource/strategy/DynamicDataSourceStrategy;>;)V	'a:Lcom/jeeplus/database/datasource/DynamicRoutingDataSource;setP6spy(Z)Vjava/lang/Exception-"IG[ZCYS[OMDZ%1KK&E??XO/1com/jeeplus/modules/database/datalink/jdbc/DBPool1&(Ljava/lang/String;)Ljava/lang/String;#3
24java/lang/Class6forName%(Ljava/lang/String;)Ljava/lang/Class;89
7:	<*务恴敹挛溙X棉派刹布弉呚亏?y>Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty@
A4org/slf4j/LoggerCinfo(Ljava/lang/String;)VEFDG	I>奯敚挛溺呚劂嘝弪呚京Z佬布最彠兏皍兙俨赼KwarnMFDNjava/lang/ThrowableP()Vorg/slf4j/LoggerFactoryT	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;VW
UXsetDatabaseIdProvider1(Lorg/apache/ibatis/mapping/DatabaseIdProvider;)V	\
getDataSource*(Ljava/lang/String;)Ljavax/sql/DataSource;$org/springframework/util/StringUtils`isEmpty(Ljava/lang/Object;)Zbc
ad()Ljavax/sql/DataSource;#f
g!	i()Zbk
lcontainsKeync
o%亻)tU绍攅捧滥两辡囗攅捧滥qdebug'(Ljava/lang/String;Ljava/lang/Object;)VstDuget&(Ljava/lang/Object;)Ljava/lang/Object;wx
y6com/jeeplus/database/datasource/DynamicGroupDataSource{determineDataSource}f
|~	?%令UQ
匠敚挛溺乘迾嚫敚挛溺?javax/sql/DataSource?java/lang/String?
addDataSource+(Ljava/lang/String;Ljavax/sql/DataSource;)V!com/p6spy/engine/spy/P6DataSource?(Ljavax/sql/DataSource;)V??
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
?contains(Ljava/lang/CharSequence;)Z??
??split'(Ljava/lang/String;)[Ljava/lang/String;??
??
addDatasource??
|?newInstance()Ljava/lang/Object;??
7?Bcom/jeeplus/database/datasource/strategy/DynamicDataSourceStrategy?Y(Ljava/lang/String;Lcom/jeeplus/database/datasource/strategy/DynamicDataSourceStrategy;)V??
|?涎助攅捧滥夸赐?error*(Ljava/lang/String;Ljava/lang/Throwable;)V??D?remove?x
? 勝怫攅捄滥動轗UQ
扥劵?EtD?Ljavax/sql/DataSource;java/lang/Object?destroy#jf`nUmgdj1hhf??{lU)g'['[?entrySet()Ljava/util/Set;??
?
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?k??next????getValue???getClass()Ljava/lang/Class;??
??IEO?getDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;??
7?java/lang/reflect/Method?invoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;??
??java/sql/SQLException?Fcom/jeeplus/database/datasource/toolkit/DynamicDataSourceContextHolder?peek()Ljava/lang/String;??
??^_
?,org/apache/ibatis/mapping/DatabaseIdProvider?
getDatabaseId*(Ljavax/sql/DataSource;)Ljava/lang/String;????$org/apache/ibatis/session/SqlSession?9com/jeeplus/modules/database/config/DsSpringContextHolder?getBean%(Ljava/lang/Class;)Ljava/lang/Object;??
??getConfiguration+()Lorg/apache/ibatis/session/Configuration;????'org/apache/ibatis/session/Configuration?
setDatabaseId?F
??printStackTraceS
?getCurrentGroupDataSources()Ljava/util/Map;]()Ljava/util/Map;setProviderG(Lcom/jeeplus/database/datasource/provider/DynamicDataSourceProvider;)V 		afterPropertiesSetBcom/jeeplus/database/datasource/provider/DynamicDataSourceProviderloadDataSources
剨姂億助輈)tU丣攅捧滥size()I
java/lang/IntegervalueOf(I)Ljava/lang/Integer;
getKey???
 #	"Q役券皮麭讎攅捄滥昅纱敚挛溺Y绮呸丐UQ
ケ兜乾朣UQ
也敚挛溺$
|9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VE'D(<彚券皍麭训攅捧滥昦匠敹挛溙ケ敹挛溙呸丳Ur*java/lang/RuntimeException,%话梵柏XGX黲译敚挛庹诋罄.?F
-0
setPrimary?S
3java/util/LinkedHashMap5
63&java/util/concurrent/ConcurrentHashMap8
93!亻黑译敹挛溙乘违嚫敹挛;sFD=getCurrentDataSources;()Ljava/util/Map;removeDataSourceremoveDatasourceB?
|C 勝怫攅捄滥剕陎UQ
扥劵E&务恴敹挛溙X朣戋刹Ur)攅捧滥G	Signature
ConstantValueCodeLineNumberTableLocalVariableTable
StackMapTable
ExceptionsInnerClasses
SourceFile!	IIJ !I"#$%K:*+?(?L;M)*)I&+,K?7?00?5?;?=??B?HW*?J??L?=L?5?O??*?J?!.N+? Q?.?Q?L*
a??!?"/?1?6'M7)*7)RSK!	?Y?=?L*Z[K:*+?]?L?M)*)^_K?t+?e?	*?h??*?j?m?0*?j+?p?#?=r?B+?v*?j+?z?|???*??+?p??=??5+?v*??+?z???*?h?N)?Q???7Q??(L&	"#
.&?4?FS#a4onMt)*t)!??K??*?J???Y,??M*??+,??W+???u+??2N*?j-?p?*?j-?z?|,???K??|Y-*?(??????:*,???j-??W? ?:?=??B??*??+??W?=??5+???Pw{.NR????>Q?????)Q????.?LB?9<7%?.
;P?eYkwJ{?}O?S?s?DM ?)*?)?)??SK?a?=??B?H*??????L+???>+???????YM??ո5?7YX??YN???-,??YX??W?????N???BQ??L&	I
.!8(;L?O\M`~Ma)*O.}fK?4??L*+??M+?'*?],??L?????+?,??L+?,?*-?N/?,Q???????L&	??
??+|-.`2AM4)*K/*?j?L?M)*IK:*+?
?L?M)*) SKe?*?
?L?=?B+????+????YL???(+???M*,???,?????!+??׿*Y?j_?#?p?.?=%?5*Y?#_?j*?#?z?|?&??)??*Y??_?#?p??=+?B*?#????-Y/?5?1??NC?.???+Q???:Q??#?
QL.2
?!I@WN[l?E??'?)M?)*O.2FK:*+?#?LzM)*)?SKP*Y?4?6*[YXY?7???9Y?:?j?L5.HM)*#fK?G?=*Y?j_?#?p?*Y?j_?#?z?|???*Y??_?#?z???N?4Q?L
?mMG)*?K/*???LjM)*I@!AFK?v*??+?p?]*??+?z??M*??+[??W???*+??2N*?j-?p?*?j-?z?|,?D?=F?5+?????=H?B?O?N?V??Q??L.?
gr)@/%8?EV?egu?Mv)*v)P

	Q	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy