Methods Summary |
---|
public void | activateObject(byte[] id, org.omg.PortableServer.Servant servant)
|
public void | clearAOM()Delete everything in the active object map.
|
public org.omg.PortableServer.Servant | deactivateObject(byte[] id)Deactivate the object that is associated with the given id.
Returns the servant for id.
|
public void | etherealizeAll()Etherealize all servants associated with this POAPolicyMediator.
Does nothing if the retention policy is non-retain.
|
public org.omg.PortableServer.Servant | getDefaultServant()Return the default servant. Will throw WrongPolicy
if the request processing policy is not USE_DEFAULT_SERVANT.
|
public java.lang.Object | getInvocationServant(byte[] id, java.lang.String operation)Get the servant to use for an invocation with the
given id and operation.
|
public Policies | getPolicies()Return the policies object that was used to create this
POAPolicyMediator.
|
public int | getScid()Return the subcontract ID to use in the IIOP profile in IORs
created by this POAPolicyMediator's POA. This is initialized
according to the policies and the POA used to construct this
POAPolicyMediator in the POAPolicyMediatorFactory.
|
public org.omg.PortableServer.ServantManager | getServantManager()Return the servant manager. Will throw WrongPolicy
if the request processing policy is not USE_SERVANT_MANAGER.
|
public int | getServerId()Return the server ID to use in the IIOP profile in IORs
created by this POAPolicyMediator's POA. This is initialized
according to the policies and the POA used to construct this
POAPolicyMediator in the POAPolicyMediatorFactory.
|
public org.omg.PortableServer.Servant | idToServant(byte[] id)
|
public byte[] | newSystemId()Allocate a new, unique system ID. Requires the ID assignment policy
to be SYSTEM.
|
public void | returnServant()Release a servant that was obtained from getInvocationServant.
|
public byte[] | servantToId(org.omg.PortableServer.Servant servant)
|
public void | setDefaultServant(org.omg.PortableServer.Servant servant)Set the default servant. Will throw WrongPolicy
if the request processing policy is not USE_DEFAULT_SERVANT.
|
public void | setServantManager(org.omg.PortableServer.ServantManager servantManager)Set the servant manager. Will throw WrongPolicy
if the request processing policy is not USE_SERVANT_MANAGER.
|