wt-better commented on code in PR #6017:
URL: https://github.com/apache/incubator-seata/pull/6017#discussion_r1452327790


##########
saga/seata-saga-engine/src/main/java/io/seata/saga/engine/config/AbstractStateMachineConfig.java:
##########
@@ -279,101 +280,75 @@ protected void loadStateRouterInterceptors(Map<String, 
StateRouter> stateRouterM
                     if 
(interceptor.match(interceptableStateRouter.getClass())) {
                         interceptableStateRouter.addInterceptor(interceptor);
                     }
-
-                    if (interceptor instanceof ApplicationContextAware) {
-                        ((ApplicationContextAware) 
interceptor).setApplicationContext(getApplicationContext());
-                    }
                 }
             }
         }
     }
 
+    /**
+     * Init StateLogStore by subClass
+     *
+     * @return StateLogStore
+     */
+    public abstract StateLangStore initStateLogStoreStore() throws Exception;
+
+    /**
+     * Init StateLogStore by subClass
+     *
+     * @return StateLogStore
+     */
+    public abstract StateLogStore initStateLogStore() throws Exception;
+

Review Comment:
   This is redundant



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to