public RecoverableParsedIOR(String ior) { this((ORB)ORBManager.getORB().orb(), ior) ; }
public static final com.arjuna.orbportability.ORB getORB () { if (isInitialised()) { return getTheORB(); } else { jtsLogger.i18NLogger.fatal_ORBManager(); throw new com.arjuna.ats.arjuna.exceptions.FatalError(); } }
public static final com.arjuna.orbportability.OA getPOA () { if (isInitialised() ) { return getThePOA(); } else { jtsLogger.loggerI18N.fatal("com.arjuna.ats.internal.jts.ORBManager"); throw new com.arjuna.ats.arjuna.exceptions.FatalError(); } }
if ( !ORBManager.isInitialised() ) ORBManager.setORB(orb); ORBManager.setPOA(RootOA.getRootOA(orb)); jtsLogger.logger.trace("The JTS OA has been set " + oa); 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); } }
/** * Tidy-up the system prior to exiting. */ public static void purge () { if (OTSImpleManager._currentRef != null) { OTSImpleManager._currentRef = null; OTSImpleManager._current = null; } if (OTSImpleManager._theFactoryRef != null) { ORBManager.getPOA().shutdownObject(OTSImpleManager._theFactory); OTSImpleManager._theFactory = null; } }
public static final void setORB (com.arjuna.orbportability.ORB theOrb) { com.arjuna.ats.internal.jts.ORBManager.setORB(theOrb); }
public static final void setPOA (com.arjuna.orbportability.OA thePoa) { com.arjuna.ats.internal.jts.ORBManager.setPOA(thePoa); }
org.omg.CORBA.Object obj = ORBManager.getServices().getService(Services.transactionService, params, resolver);
try { 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);
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); }
if ( !ORBManager.isInitialised() ) ORBManager.setORB(orb); ORBManager.setPOA(RootOA.getRootOA(orb)); "The JTS OA has been set "+oa); ORBManager.setPOA(oa);
/** * Tidy-up the system prior to exiting. */ public static void purge () { if (OTSImpleManager._currentRef != null) { OTSImpleManager._currentRef = null; OTSImpleManager._current = null; } if (OTSImpleManager._theFactoryRef != null) { ORBManager.getPOA().shutdownObject(OTSImpleManager._theFactory); OTSImpleManager._theFactoryRef = null; OTSImpleManager._theFactory = null; } }
public static final void setORB (com.arjuna.orbportability.ORB theOrb) { com.arjuna.ats.internal.jts.ORBManager.setORB(theOrb); }
public static final void setPOA (com.arjuna.orbportability.OA thePoa) { com.arjuna.ats.internal.jts.ORBManager.setPOA(thePoa); }
public static final com.arjuna.orbportability.OA getPOA () { if (isInitialised()) { return getThePOA(); } else { jtsLogger.i18NLogger.fatal_ORBManager(); throw new com.arjuna.ats.arjuna.exceptions.FatalError(); } }
org.omg.CORBA.Object obj = ORBManager.getServices().getService(Services.transactionService, params, resolver);
public RecoverableParsedIOR(String ior) { this((ORB)ORBManager.getORB().orb(), ior) ; }
private static void initORBandOA() throws InvalidName if ( !ORBManager.isInitialised() ) _oa.initOA(); } catch(RuntimeException e) { ORBManager.reset(); _orb.shutdown(); throw e; ORBManager.setORB(_orb); ORBManager.setPOA(_oa); _orb = ORBManager.getORB(); _oa = (RootOA) ORBManager.getPOA(); ORBManager.getPOA().addPreShutdown(new JacOrbRCShutdown());