Search in sources :

Example 1 with JacOrbRCManager

use of com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCManager in project narayana by jbosstm.

the class JacORBRecoveryUnitTest method testORBRCManager.

@Test
public void testORBRCManager() throws Exception {
    JacOrbRCManager manager = new JacOrbRCManager();
    RecoveryCoordinator rc = manager.makeRC(new Uid(), new Uid(), new Uid(), false);
    assertTrue(rc == null);
    manager.destroy(rc);
    manager.destroyAll(null);
}
Also used : Uid(com.arjuna.ats.arjuna.common.Uid) RecoveryCoordinator(org.omg.CosTransactions.RecoveryCoordinator) JacOrbRCManager(com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCManager) Test(org.junit.Test)

Aggregations

Uid (com.arjuna.ats.arjuna.common.Uid)1 JacOrbRCManager (com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCManager)1 Test (org.junit.Test)1 RecoveryCoordinator (org.omg.CosTransactions.RecoveryCoordinator)1