@Test public void testAssertNotInGlobalTransaction() { RootContext.assertNotInGlobalTransaction(); assertThat(RootContext.getXID()).isNull(); }
public static void assertNotInGlobalTransaction() { if (inGlobalTransaction()) { throw new ShouldNeverHappenException(); } }
RootContext { public static void assertNotInGlobalTransaction() { if (inGlobalTransaction()) { throw new ShouldNeverHappenException(); } } }
RootContext { public static void assertNotInGlobalTransaction() { if (inGlobalTransaction()) { throw new ShouldNeverHappenException(); } }  }
RootContext { public static void assertNotInGlobalTransaction() { if (inGlobalTransaction()) { throw new ShouldNeverHappenException(); } }  static String getXID(); static void bind(String xid); static void bindGlobalLockFlag(); static String unbind(); static void unbindGlobalLockFlag(); static boolean inGlobalTransaction(); static boolean requireGlobalLock(); static void assertNotInGlobalTransaction(); }
RootContext { public static void assertNotInGlobalTransaction() { if (inGlobalTransaction()) { throw new ShouldNeverHappenException(); } }  static String getXID(); static void bind(String xid); static void bindGlobalLockFlag(); static String unbind(); static void unbindGlobalLockFlag(); static boolean inGlobalTransaction(); static boolean requireGlobalLock(); static void assertNotInGlobalTransaction(); static final String KEY_XID; static final String KEY_GLOBAL_LOCK_FLAG; }