test_class.declarator: transactionManager
test_class.modifier: @Mock private
test_class.original_string: @Mock private TransactionManager transactionManager;
test_class.type: TransactionManager
test_class.var_name: transactionManager
test_class.declarator: userTransaction
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserTransaction userTransaction;
test_class.type: UserTransaction
test_class.var_name: userTransaction
test_class.file: rice-middleware/core/framework/src/test/java/org/kuali/rice/core/framework/persistence/jta/JtaTest.java
test_class.identifier: JtaTest
test_case.body: @Test
      public void testReset() throws Exception {
          assertFalse(Jta.isFrozen());
          Jta.configure(transactionManager, userTransaction);
          assertTrue(Jta.isFrozen());
          assertTrue(Jta.isEnabled());
          assertSame(transactionManager, Jta.getTransactionManager());
          assertSame(userTransaction, Jta.getUserTransaction());
  
          Jta.reset();
  
          assertFalse(Jta.isFrozen());
          assertFalse(Jta.isEnabled());
      }
test_case.class_method_signature: JtaTest.testReset()
test_case.full_signature: @Test public void testReset()
test_case.identifier: testReset
test_case.invocations: assertFalse isFrozen configure assertTrue isFrozen assertTrue isEnabled assertSame getTransactionManager assertSame getUserTransaction reset assertFalse isFrozen assertFalse isEnabled
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReset()
focal_class.declarator: initLock = new Object()
focal_class.modifier: private static final
focal_class.original_string: private static final Object initLock = new Object();
focal_class.type: Object
focal_class.var_name: initLock
focal_class.declarator: frozen = false
focal_class.modifier: private static
focal_class.original_string: private static boolean frozen = false;
focal_class.type: boolean
focal_class.var_name: frozen
focal_class.declarator: transactionManager
focal_class.modifier: private static
focal_class.original_string: private static TransactionManager transactionManager;
focal_class.type: TransactionManager
focal_class.var_name: transactionManager
focal_class.declarator: userTransaction
focal_class.modifier: private static
focal_class.original_string: private static UserTransaction userTransaction;
focal_class.type: UserTransaction
focal_class.var_name: userTransaction
focal_class.file: rice-middleware/core/framework/src/main/java/org/kuali/rice/core/framework/persistence/jta/Jta.java
focal_class.identifier: Jta
focal_class.class_method_signature: Jta.Jta()
focal_class.full_signature: private  Jta()
focal_class.identifier: Jta
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Jta()
focal_class.class_method_signature: Jta.configure(TransactionManager transactionManager, UserTransaction userTransaction)
focal_class.full_signature: public static void configure(TransactionManager transactionManager, UserTransaction userTransaction)
focal_class.identifier: configure
focal_class.modifiers: public static
focal_class.parameters: (TransactionManager transactionManager, UserTransaction userTransaction)
focal_class.return: void
focal_class.signature: void configure(TransactionManager transactionManager, UserTransaction userTransaction)
focal_class.class_method_signature: Jta.reset()
focal_class.full_signature: public static void reset()
focal_class.identifier: reset
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: Jta.isFrozen()
focal_class.full_signature: public static boolean isFrozen()
focal_class.identifier: isFrozen
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFrozen()
focal_class.class_method_signature: Jta.isEnabled()
focal_class.full_signature: public static boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: Jta.getTransactionManager()
focal_class.full_signature: public static TransactionManager getTransactionManager()
focal_class.identifier: getTransactionManager
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: TransactionManager
focal_class.signature: TransactionManager getTransactionManager()
focal_class.class_method_signature: Jta.getUserTransaction()
focal_class.full_signature: public static UserTransaction getUserTransaction()
focal_class.identifier: getUserTransaction
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: UserTransaction
focal_class.signature: UserTransaction getUserTransaction()
focal_method.body: public static void reset() {
          synchronized (initLock) {
              Jta.transactionManager = null;
              Jta.userTransaction = null;
              Jta.frozen = false;
          }
      }
focal_method.class_method_signature: Jta.reset()
focal_method.full_signature: public static void reset()
focal_method.identifier: reset
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()