public static final com.arjuna.orbportability.ORB getORB () { if (_theOrb == null) _theOrb = ORB.getInstance(ORB_NAME); return _theOrb; }
private static final com.arjuna.orbportability.ORB getTheORB () { if (_theOrb == null) _theOrb = ORB.getInstance(ORB_NAME); return _theOrb; }
private static final com.arjuna.orbportability.ORB getTheORB () { if (_theOrb == null) _theOrb = ORB.getInstance(ORB_NAME); return _theOrb; }
@Override public void stop() throws Exception { super.stop(); ORB.getInstance(TransactionManagerService.ORB_NAME).shutdown(); } }
com.arjuna.orbportability.ORB _orb; if (!com.arjuna.ats.internal.jts.ORBManager.isInitialised()) { _orb = com.arjuna.orbportability.ORB.getInstance(ORB_NAME); com.arjuna.orbportability.OA oa = com.arjuna.orbportability.OA.getRootOA(_orb);
myORB = ORB.getInstance("TransactionServer"); myOA = OA.getRootOA(myORB);
ORB orb = com.arjuna.orbportability.ORB.getInstance("ClientSide"); RootOA oa = com.arjuna.orbportability.OA.getRootOA(orb); orb.initORB(new String[] {}, null);
myORB = ORB.getInstance("TransactionServer"); myOA = OA.getRootOA(myORB);
public RecoveryManagerService(org.omg.CORBA.ORB theCorbaORB) throws Exception { jbossatxLogger.i18NLogger.info_jts_RecoveryManagerService_init(); if (ORBType.JACORB == ORBInfo.getOrbEnumValue()) { // Make sure the orb is ready: TODO improve on this Class c = ClassloadingUtility.loadClass("com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.JacOrbRCServiceInit"); Method m = c.getDeclaredMethod("waitForRunningORBRunner", null); m.invoke(null, null); } /** Create an ORB portability wrapper around the CORBA ORB services orb **/ ORB orb = ORB.getInstance(TransactionManagerService.ORB_NAME); org.omg.PortableServer.POA rootPOA = org.omg.PortableServer.POAHelper.narrow(theCorbaORB.resolve_initial_references("RootPOA")); orb.setOrb(theCorbaORB); OA oa = OA.getRootOA(orb); oa.setPOA(rootPOA); ORBManager.setORB(orb); ORBManager.setPOA(oa); }
public RecoveryManagerService(org.omg.CORBA.ORB theCorbaORB) throws Exception { jbossatxLogger.i18NLogger.info_jts_RecoveryManagerService_init(); /** Create an ORB portability wrapper around the CORBA ORB services orb **/ ORB orb = ORB.getInstance("jboss-atx"); org.omg.PortableServer.POA rootPOA = org.omg.PortableServer.POAHelper.narrow(theCorbaORB.resolve_initial_references("RootPOA")); orb.setOrb(theCorbaORB); OA oa = OA.getRootOA(orb); oa.setPOA(rootPOA); ORBManager.setORB(orb); ORBManager.setPOA(oa); } }
_orb = com.arjuna.orbportability.ORB.getInstance("RecoveryServer");
_orb = com.arjuna.orbportability.ORB.getInstance("RecoveryServer");
public void start(org.omg.CORBA.ORB theCorbaORB) throws Exception { jbossatxLogger.i18NLogger.info_jts_TransactionManagerService_start(); // Create an ORB portability wrapper around the CORBA ORB services orb ORB orb = ORB.getInstance("jboss-atx"); org.omg.PortableServer.POA rootPOA = org.omg.PortableServer.POAHelper.narrow(theCorbaORB.resolve_initial_references("RootPOA")); orb.setOrb(theCorbaORB); OA oa = OA.getRootOA(orb); oa.setPOA(rootPOA); try { // OTSManager won't play nice unless we explicity bootstrap the portability layer: ORBManager.setORB(orb); ORBManager.setPOA(oa); org.omg.CosTransactions.TransactionFactory factory = com.arjuna.ats.jts.OTSManager.get_factory(); final int resolver = Services.getResolver(); com.arjuna.ats.jts.TransactionServer.registerTransactionManager(resolver, orb, factory); } catch (final Exception ex) { throw new Exception(jbossatxLogger.i18NLogger.get_jts_TransactionManagerService_failed(), ex); } }
ORB orb = ORB.getInstance(ORB_NAME);