public ObjectAdapter getOA() { ObjectAdapter oa = peekThrowInternal().oa(); throwInternalIfNull(oa); return oa; }
public POA get_POA() throws NoContext { POA poa = (POA) (peekThrowNoContext().oa()); throwNoContextIfNull(poa); return poa; }
public ObjectAdapter getOA() { ObjectAdapter oa = peekThrowInternal().oa(); throwInternalIfNull(oa); return oa; }
public POA get_POA() throws NoContext { POA poa = (POA) (peekThrowNoContext().oa()); throwNoContextIfNull(poa); return poa; }
public POA poa(Servant self) { try { return (POA)orb.peekInvocationInfo().oa(); } catch (EmptyStackException exception){ POA returnValue = factory.lookupPOA(self); if (returnValue != null) { return returnValue; } throw wrapper.noContext( exception ) ; } }
public POA poa(Servant self) { try { return (POA)orb.peekInvocationInfo().oa(); } catch (EmptyStackException exception){ POA returnValue = factory.lookupPOA(self); if (returnValue != null) { return returnValue; } throw wrapper.noContext( exception ) ; } }
public void returnServant() { OAInvocationInfo info = orb.peekInvocationInfo(); if (locator == null) return; try { poa.unlock(); locator.postinvoke(info.id(), (POA) (info.oa()), info.getOperation(), info.getCookieHolder().value, (Servant) (info.getServantContainer())); } catch (ForwardRequest e) { e.printStackTrace(); } finally { poa.lock(); } }
public void returnServant() { OAInvocationInfo info = orb.peekInvocationInfo(); if (locator == null) return; try { poa.unlock(); locator.postinvoke(info.id(), (POA) (info.oa()), info.getOperation(), info.getCookieHolder().value, (Servant) (info.getServantContainer())); } catch (ForwardRequest e) { e.printStackTrace(); } finally { poa.lock(); } }
try { oid = orb.peekInvocationInfo().id(); poa = (POA)orb.peekInvocationInfo().oa(); String repId = self._all_interfaces(poa,oid)[0] ; return poa.create_reference_with_id(oid, repId);
try { oid = orb.peekInvocationInfo().id(); poa = (POA)orb.peekInvocationInfo().oa(); String repId = self._all_interfaces(poa,oid)[0] ; return poa.create_reference_with_id(oid, repId);