com.jeeplus.database.datasource.provider.YmlDynamicDataSourceProvider.class Maven / Gradle / Ivy
???? 4 m Ecom/jeeplus/database/datasource/provider/YmlDynamicDataSourceProvider java/lang/Object Bcom/jeeplus/database/datasource/provider/DynamicDataSourceProvider fb java/util/Map$Entry
java/util/Map
Entry F :Lcom/jeeplus/database/datasource/DynamicDataSourceCreator; L WLcom/jeeplus/database/datasource/spring/boot/autoconfigure/DynamicDataSourceProperties;
ALLATORIxDEMO Lorg/slf4j/Logger; ()V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;
?(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DynamicDataSourceProperties;Lcom/jeeplus/database/datasource/DynamicDataSourceCreator;)V
!
# a GLcom/jeeplus/database/datasource/provider/YmlDynamicDataSourceProvider; loadDataSources ()Ljava/util/Map; ;()Ljava/util/Map; Ucom/jeeplus/database/datasource/spring/boot/autoconfigure/DynamicDataSourceProperties *
getDatasource , (
+ - java/util/HashMap / size ()I 1 2 3 (I)V 5
0 6 entrySet ()Ljava/util/Set; 8 9 :
java/util/Set < iterator ()Ljava/util/Iterator; > ? = @ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J getKey L I M java/lang/String O getValue Q I R Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty T setPollName b(Ljava/lang/String;)Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty; V W
U X 8com/jeeplus/database/datasource/DynamicDataSourceCreator Z createDataSource f(Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty;)Ljavax/sql/DataSource; \ ]
[ ^ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ` a b java/lang/Throwable d Code LineNumberTable LocalVariableTable
StackMapTable Signature InnerClasses
SourceFile !
f ! ? ? ? g ? f Y ,*Z+*? ? "? $? g * 5 ? h % &