public byte[] object_id(Servant self) { try{ return orb.peekInvocationInfo().id(); } catch (EmptyStackException exception){ throw wrapper.noContext(exception) ; } }
public byte[] get_object_id() throws NoContext { byte[] objectid = peekThrowNoContext().id(); throwNoContextIfNull(objectid); return objectid; }
public byte[] get_object_id() throws NoContext { byte[] objectid = peekThrowNoContext().id(); throwNoContextIfNull(objectid); return objectid; }
public byte[] getObjectId() { byte[] objectid = peekThrowInternal().id(); throwInternalIfNull(objectid); return objectid; }
public byte[] object_id(Servant self) { try{ return orb.peekInvocationInfo().id(); } catch (EmptyStackException exception){ throw wrapper.noContext(exception) ; } }
public boolean non_existent(Servant self) { //REVISIT try{ byte[] oid = orb.peekInvocationInfo().id(); if( oid == null) return true; else return false; } catch (EmptyStackException exception){ throw wrapper.noContext(exception) ; } }
public byte[] getObjectId() { byte[] objectid = peekThrowInternal().id(); throwInternalIfNull(objectid); return objectid; }
public boolean non_existent(Servant self) { //REVISIT try{ byte[] oid = orb.peekInvocationInfo().id(); if( oid == null) return true; else return false; } catch (EmptyStackException exception){ throw wrapper.noContext(exception) ; } }
public void returnServant() { OAInvocationInfo info = orb.peekInvocationInfo(); byte[] id = info.id(); ActiveObjectMap.Key key = new ActiveObjectMap.Key(id); AOMEntry entry = activeObjectMap.get(key); entry.exit(); }
public void returnServant() { OAInvocationInfo info = orb.peekInvocationInfo(); byte[] id = info.id(); ActiveObjectMap.Key key = new ActiveObjectMap.Key(id); AOMEntry entry = activeObjectMap.get(key); entry.exit(); }
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(); } }
public void getInvocationServant(OAInvocationInfo info) { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling getInvocationServant on poa " + this); } java.lang.Object servant = null; try { servant = mediator.getInvocationServant(info.id(), info.getOperation()); } catch (ForwardRequest freq) { throw new ForwardException(getORB(), freq.forward_reference); } info.setServant(servant); } finally { if (debug) { ORBUtility.dprint(this, "Exiting getInvocationServant on poa " + this); } unlock(); } }
public void getInvocationServant(OAInvocationInfo info) { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling getInvocationServant on poa " + this); } java.lang.Object servant = null; try { servant = mediator.getInvocationServant(info.id(), info.getOperation()); } catch (ForwardRequest freq) { throw new ForwardException(getORB(), freq.forward_reference); } info.setServant(servant); } finally { if (debug) { ORBUtility.dprint(this, "Exiting getInvocationServant on poa " + this); } unlock(); } }
POA poa; try { oid = orb.peekInvocationInfo().id(); poa = (POA)orb.peekInvocationInfo().oa(); String repId = self._all_interfaces(poa,oid)[0] ;
POA poa; try { oid = orb.peekInvocationInfo().id(); poa = (POA)orb.peekInvocationInfo().oa(); String repId = self._all_interfaces(poa,oid)[0] ;