WillemJiang commented on a change in pull request #506: SCB-1385 provide a 
common way to pass the GID and LID
URL: https://github.com/apache/servicecomb-pack/pull/506#discussion_r305657417
 
 

 ##########
 File path: 
omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/TransactionContextProperties.java
 ##########
 @@ -17,9 +17,11 @@
 package org.apache.servicecomb.pack.omega.context;
 
 /**
- * Once the user business class implement this TransactionContextWrapper, 
Omega could extract the TransactionContext instance
- * out of the business class, and set up the OmegaContext before calling sub 
transaction method.
+ * Once the user business class implement this TransactionContextWrapper, 
Omega could extract the GlobalTransactionId
+ * and LocalTransactionId out of the business class, and set up the 
OmegaContext before calling sub transaction method.
  */
-public interface TransactionContextWrapper {
-  TransactionContext getTransactionContext();
+public interface TransactionContextProperties {
+  String getGloableTxId();
 
 Review comment:
   sorry,it's my mistake. I just submit a quick fix for these typos. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to