/** * Retrieve an OA instance given a unique name, if an OA instance with this * name doesn't exist then create it. * * @param associatedORB * The ORB this OA is being created for. * @return The OA instance referred to by the name given. */ public synchronized static RootOA getRootOA (ORB associatedORB) { /** * Get the OA for this ORB instance */ RootOA oa = (RootOA) _orbToOAMap.get(associatedORB); if (oa == null) { oa = new com.arjuna.orbportability.RootOA(associatedORB); _orbToOAMap.put(associatedORB, oa); } return (oa); }
public org.omg.CORBA.Object corbaReference (Servant obj) { org.omg.CORBA.Object objRef = null; try { objRef = corbaReference(obj, _oa.rootPoa()); } catch (Exception e) { objRef = null; } return objRef; }
private static final com.arjuna.orbportability.OA getThePOA () { if (_thePoa == null) _thePoa = RootOA.getRootOA(_theOrb); return _thePoa; }
public void run() { try { JacOrbRCServiceInit._orb.orb().run(); } catch (Throwable e) { e.printStackTrace(); } try { if (JacOrbRCServiceInit._oa != null) JacOrbRCServiceInit._oa.destroy(); if (JacOrbRCServiceInit._orb != null) JacOrbRCServiceInit._orb.shutdown(); } catch (Exception ex) { } }
oa.initOA(); } catch (Throwable t) { throw new ConnectionException(Connection.TPESYSTEM, "Could not connect to the orb", t);
POA rootPOA = _oa.rootPoa(); _oa.addPreShutdown(new JavaIdlRCShutdown());
org.omg.PortableServer.POA rootPOA = _oa.rootPoa();
OA.getRootOA(this).destroy();
_orb.initORB((String[])null, p); _oa = OA.getRootOA(_orb); _oa.initOA(); } catch(RuntimeException e) { ORBManager.reset();
_oa.rootPoa().the_POAManager().activate();
public org.omg.CORBA.Object corbaReference (Servant obj) { org.omg.CORBA.Object objRef = null; try { objRef = corbaReference(obj, _oa.rootPoa()); } catch (Exception e) { objRef = null; } return objRef; }
/** * Retrieve an OA instance given a unique name, if an OA instance with this * name doesn't exist then create it. * * @param associatedORB * The ORB this OA is being created for. * @return The OA instance referred to by the name given. */ public synchronized static RootOA getRootOA (ORB associatedORB) { /** * Get the OA for this ORB instance */ RootOA oa = (RootOA) _orbToOAMap.get(associatedORB); if (oa == null) { oa = new com.arjuna.orbportability.RootOA(associatedORB); _orbToOAMap.put(associatedORB, oa); } return (oa); }
OA.getRootOA(this).destroy();
_orb.initORB((String[])null, p); _oa = OA.getRootOA(_orb); _oa.initOA(); } catch(RuntimeException e) { ORBManager.reset();
public static final com.arjuna.orbportability.OA getPOA () { if (_thePoa == null) _thePoa = RootOA.getRootOA(_theOrb); return _thePoa; }
_oa.rootPoa().the_POAManager().activate();
public org.omg.CORBA.Object corbaReference (Servant obj) { org.omg.CORBA.Object objRef = null; try { objRef = corbaReference(obj, _oa.rootPoa()); } catch (Exception e) { objRef = null; } return objRef; }