Search in sources :

Example 1 with JavaIdlRCManager

use of com.arjuna.ats.internal.jts.orbspecific.javaidl.recoverycoordinators.JavaIdlRCManager in project narayana by jbosstm.

the class JavaIdlRecoveryUnitTest method testORBRCManager.

@Test
public void testORBRCManager() throws Exception {
    JavaIdlRCManager manager = new JavaIdlRCManager();
    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) JavaIdlRCManager(com.arjuna.ats.internal.jts.orbspecific.javaidl.recoverycoordinators.JavaIdlRCManager) Test(org.junit.Test)

Aggregations

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