Package com.sun.corba.se.impl.oa.poa
Class POAPolicyMediatorImpl_NR_USM
java.lang.Object
com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
com.sun.corba.se.impl.oa.poa.POAPolicyMediatorImpl_NR_USM
- All Implemented Interfaces:
POAPolicyMediator
Implementation of POARequesHandler that provides policy specific
operations on the POA.
-
Field Summary
Fields inherited from class com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
isImplicit, isSystemId, isUnique, orb, poa -
Method Summary
Modifier and TypeMethodDescriptionfinal voidactivateObject(byte[] id, Servant servant) voidclearAOM()Delete everything in the active object map.deactivateObject(byte[] id) Deactivate the object that is associated with the given id.voidEtherealize all servants associated with this POAPolicyMediator.Return the default servant.Return the servant manager.idToServant(byte[] id) protected ObjectinternalGetServant(byte[] id, String operation) voidRelease a servant that was obtained from getInvocationServant.byte[]servantToId(Servant servant) voidsetDefaultServant(Servant servant) Set the default servant.voidsetServantManager(ServantManager servantManager) Set the servant manager.Methods inherited from class com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
getInvocationServant, getPolicies, getScid, getServerId, newSystemId, setDelegate
-
Method Details
-
internalGetServant
- Specified by:
internalGetServantin classPOAPolicyMediatorBase- Throws:
ForwardRequest
-
returnServant
public void returnServant()Description copied from interface:POAPolicyMediatorRelease a servant that was obtained from getInvocationServant. -
etherealizeAll
public void etherealizeAll()Description copied from interface:POAPolicyMediatorEtherealize all servants associated with this POAPolicyMediator. Does nothing if the retention policy is non-retain. -
clearAOM
public void clearAOM()Description copied from interface:POAPolicyMediatorDelete everything in the active object map. -
getServantManager
Description copied from interface:POAPolicyMediatorReturn the servant manager. Will throw WrongPolicy if the request processing policy is not USE_SERVANT_MANAGER.- Throws:
WrongPolicy
-
setServantManager
Description copied from interface:POAPolicyMediatorSet the servant manager. Will throw WrongPolicy if the request processing policy is not USE_SERVANT_MANAGER.- Throws:
WrongPolicy
-
getDefaultServant
Description copied from interface:POAPolicyMediatorReturn the default servant. Will throw WrongPolicy if the request processing policy is not USE_DEFAULT_SERVANT.- Throws:
NoServantWrongPolicy
-
setDefaultServant
Description copied from interface:POAPolicyMediatorSet the default servant. Will throw WrongPolicy if the request processing policy is not USE_DEFAULT_SERVANT.- Throws:
WrongPolicy
-
activateObject
public final void activateObject(byte[] id, Servant servant) throws WrongPolicy, ServantAlreadyActive, ObjectAlreadyActive -
deactivateObject
Description copied from interface:POAPolicyMediatorDeactivate the object that is associated with the given id. Returns the servant for id.- Throws:
ObjectNotActiveWrongPolicy
-
servantToId
- Throws:
ServantNotActiveWrongPolicy
-
idToServant
- Throws:
WrongPolicyObjectNotActive
-