com.jeeplus.database.datasource.plugin.MasterSlaveAutoRoutingPlugin.class Maven / Gradle / Ivy
???? 4 h Ccom/jeeplus/database/datasource/plugin/MasterSlaveAutoRoutingPlugin java/lang/Object $org/apache/ibatis/plugin/Interceptor ka %Lorg/apache/ibatis/plugin/Intercepts; value $Lorg/apache/ibatis/plugin/Signature; type %Lorg/apache/ibatis/executor/Executor; method query args +Lorg/apache/ibatis/mapping/MappedStatement; Ljava/lang/Object; %Lorg/apache/ibatis/session/RowBounds; )Lorg/apache/ibatis/session/ResultHandler; update H Lorg/slf4j/Logger; B Ljava/lang/String; slave
ALLATORIxDEMO master intercept 9(Lorg/apache/ibatis/plugin/Invocation;)Ljava/lang/Object; java/lang/Throwable #org/apache/ibatis/plugin/Invocation " getArgs ()[Ljava/lang/Object; $ %
# & )org/apache/ibatis/mapping/MappedStatement ( (org/apache/ibatis/mapping/SqlCommandType * SELECT *Lorg/apache/ibatis/mapping/SqlCommandType; , - + . getSqlCommandType ,()Lorg/apache/ibatis/mapping/SqlCommandType; 0 1
) 2 Fcom/jeeplus/database/datasource/toolkit/DynamicDataSourceContextHolder 4 push (Ljava/lang/String;)V 6 7
5 8 proceed ()Ljava/lang/Object; : ;
# < clear ()V > ?
5 @ a ELcom/jeeplus/database/datasource/plugin/MasterSlaveAutoRoutingPlugin; %Lorg/apache/ibatis/plugin/Invocation; java/lang/String E org/slf4j/LoggerFactory H getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; J K
I L N plugin &(Ljava/lang/Object;)Ljava/lang/Object; #org/apache/ibatis/executor/Executor R org/apache/ibatis/plugin/Plugin T wrap L(Ljava/lang/Object;Lorg/apache/ibatis/plugin/Interceptor;)Ljava/lang/Object; V W
U X
setProperties (Ljava/util/Properties;)V Ljava/util/Properties; ] ?
^
ConstantValue Code
StackMapTable LineNumberTable LocalVariableTable
Exceptions
SourceFile RuntimeVisibleAnnotations ! ` ` a ? 0+? '2? )M? /,? 3? ? ?? 9+? =L? A+??N? A-?
* $ * * + * b 9 ? !? # )A F? !? ) ! c &