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

com.jeeplus.modules.database.DataSourcePlugin.class Maven / Gradle / Ivy

There is a newer version: 4.3
Show newest version
????4?-com/jeeplus/modules/database/DataSourcePluginjava/lang/Object*org/springframework/boot/ApplicationRunnerka*Lorg/springframework/stereotype/Component;ELorg/springframework/boot/context/properties/ConfigurationProperties;prefix	ds.plugin7Lorg/springframework/context/annotation/PropertySource;value&classpath:datasource-plugin.propertiesencodingUTF-8GALcom/jeeplus/modules/database/datalink/service/DataSourceService;8Lorg/springframework/beans/factory/annotation/Autowired;D2Lcom/jeeplus/modules/database/config/DsProperites;I3Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;ELjavax/sql/DataSource;gLjava/lang/String;HFL
ALLATORIxDEMOsetSite(Ljava/lang/String;)V	"a/Lcom/jeeplus/modules/database/DataSourcePlugin;getName()Ljava/lang/String;	(
getVersion	+setNamesetDescription	/run2(Lorg/springframework/boot/ApplicationArguments;)Vjava/lang/Exception31com/jeeplus/modules/database/datalink/jdbc/DBPool5getInstance5()Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;78
69	;	addMasterK(Ljavax/sql/DataSource;)Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;=>
6?	A7com/jeeplus/modules/database/datalink/entity/DataSourceC()VEF
DG?com/jeeplus/modules/database/datalink/service/DataSourceServiceIfindAllListA(Lcom/jeeplus/database/persistence/DsDataEntity;)Ljava/util/List;KL
JMjava/util/ListOiterator()Ljava/util/Iterator;QRPSjava/util/IteratorUhasNext()ZWXVYnext()Ljava/lang/Object;[\V]	_	getEnNamea'
Db	getDriverd'
DegetUrlg'
Dh&org/springframework/web/util/HtmlUtilsjhtmlUnescape&(Ljava/lang/String;)Ljava/lang/String;lm
kngetUsernamep'
DqgetPasswords'
Dtcreate?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;vw
6xjava/lang/SystemzoutLjava/io/PrintStream;|}	{~java/lang/StringBuilder?
?Gづ?Lcom/jeeplus/database/datasource/spring/boot/autoconfigure/DataSourceProperty?m
??insert.(ILjava/lang/String;)Ljava/lang/StringBuilder;??
??&'
D?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??〭敋捒庨迢掞复贞?:com/jeeplus/database/datasource/DynamicDataSourceConfigure?
??toString?'
??java/io/PrintStream?println?!
??java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??getContextClassLoader()Ljava/lang/ClassLoader;??
??	?0com/jeeplus/modules/database/config/DsProperites?	getPlugin?'
??java/lang/ClassLoader?	loadClass%(Ljava/lang/String;)Ljava/lang/Class;??
??
getPluginPool?'
??l@zhj?-com/jeeplus/database/persistence/DsClassUtils?invocko(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
??java/lang/Class?
??java/lang/String?	?createInstanceK(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;??
??	ZX_lWI\UU?
?控仿動轴对戙T?/Lorg/springframework/boot/ApplicationArguments;java/lang/Throwable?
setVersionsetIcongetIcongetDescriptiongetSite
GRuntimeVisibleAnnotationsCodeLineNumberTableLocalVariableTable
StackMapTable
Exceptions
SourceFile!	???? !?>*+?#??
??$%$&'?/*?)??
?$%*'?/*?,????$%-!?>*+?)??
??$%$.!?>*+?0??
G??$%$12??@?:*?*+?,??
`?$%$?!?>*+?ȱ?
???$%$?'?/*?Ȱ???$%?'?/*?0??B?$%?'?/*?#????$%EF?/*?ڱ???$%?? 	
s
[ss




© 2015 - 2025 Weber Informatics LLC | Privacy Policy