/** * <code>get_servant</code> <b>Section 3.3.8.12</b> */ public Servant get_servant() throws NoServant, WrongPolicy { try { lock(); return mediator.getDefaultServant(); } finally { unlock(); } }
Policies getPolicies() { return mediator.getPolicies(); }
/** * <code>get_servant_manager</code> <b>Section 3.3.8.10</b> */ public ServantManager get_servant_manager() throws WrongPolicy { try { lock(); return mediator.getServantManager(); } finally { unlock(); } }
byte[] id = mediator.newSystemId(); mediator.activateObject(id, servant);
int serverid = mediator.getServerId(); int scid = mediator.getScid(); String orbId = getORB().getORBData().getORBId();
poa.mediator.etherealizeAll(); poa.mediator.clearAOM();
void etherealizeAll() { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling etheralizeAll on poa " + this); } mediator.etherealizeAll(); } finally { if (debug) { ORBUtility.dprint(this, "Exiting etheralizeAll on poa " + this); } unlock(); } }
/** * <code>deactivate_object</code> <b>3.3.8.16</b> */ public void deactivate_object(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling deactivate_object on poa " + this + " (id=" + id + ")"); } mediator.deactivateObject(id); } finally { if (debug) { ORBUtility.dprint(this, "Exiting deactivate_object 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(); } }
/** * <code>activate_object_with_id</code> <b>Section 3.3.8.15</b> */ public void activate_object_with_id(byte[] id, Servant servant) throws ObjectAlreadyActive, ServantAlreadyActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling activate_object_with_id on poa " + this + " (servant=" + servant + " id=" + id + ")"); } // Clone the id to avoid possible errors due to aliasing (e.g. the client passes the id in and then changes // it later). byte[] idClone = id.clone(); mediator.activateObject(idClone, servant); } finally { if (debug) { ORBUtility.dprint(this, "Exiting activate_object_with_id on poa " + this); } unlock(); } }
byte[] id = mediator.newSystemId(); mediator.activateObject(id, servant);
int serverid = mediator.getServerId(); int scid = mediator.getScid(); String orbId = getORB().getORBData().getORBId();
poa.mediator.etherealizeAll(); poa.mediator.clearAOM();
void etherealizeAll() { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling etheralizeAll on poa " + this); } mediator.etherealizeAll(); } finally { if (debug) { ORBUtility.dprint(this, "Exiting etheralizeAll on poa " + this); } unlock(); } }
/** * <code>deactivate_object</code> <b>3.3.8.16</b> */ public void deactivate_object(byte[] id) throws ObjectNotActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling deactivate_object on poa " + this + " (id=" + id + ")"); } mediator.deactivateObject(id); } finally { if (debug) { ORBUtility.dprint(this, "Exiting deactivate_object 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(); } }
/** * <code>activate_object_with_id</code> <b>Section 3.3.8.15</b> */ public void activate_object_with_id(byte[] id, Servant servant) throws ObjectAlreadyActive, ServantAlreadyActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling activate_object_with_id on poa " + this + " (servant=" + servant + " id=" + id + ")"); } // Clone the id to avoid possible errors due to aliasing (e.g. the client passes the id in and then changes // it later). byte[] idClone = id.clone(); mediator.activateObject(idClone, servant); } finally { if (debug) { ORBUtility.dprint(this, "Exiting activate_object_with_id on poa " + this); } unlock(); } }
Policies getPolicies() { return mediator.getPolicies(); }
/** * <code>get_servant</code> <b>Section 3.3.8.12</b> */ public Servant get_servant() throws NoServant, WrongPolicy { try { lock(); return mediator.getDefaultServant(); } finally { unlock(); } }
/** * <code>get_servant_manager</code> <b>Section 3.3.8.10</b> */ public ServantManager get_servant_manager() throws WrongPolicy { try { lock(); return mediator.getServantManager(); } finally { unlock(); } }