Package com.sun.corba.se.impl.oa.poa
Class POAPolicyMediatorImpl_R_USM
java.lang.Object
com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase_R
com.sun.corba.se.impl.oa.poa.POAPolicyMediatorImpl_R_USM
- All Implemented Interfaces:
POAPolicyMediator
Implementation of POARequesHandler that provides policy specific
operations on the POA.
-
Field Summary
FieldsFields inherited from class com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase_R
activeObjectMapFields inherited from class com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
isImplicit, isSystemId, isUnique, orb, poa -
Method Summary
Modifier and TypeMethodDescriptionvoiddeactivateHelper(ActiveObjectMap.Key key, AOMEntry entry, Servant servant) 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.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_R
activateObject, activateServant, clearAOM, deactivateObject, deactivateObject, internalIdToServant, internalKeyToServant, servantToIdMethods inherited from class com.sun.corba.se.impl.oa.poa.POAPolicyMediatorBase
getInvocationServant, getPolicies, getScid, getServerId, newSystemId, setDelegate
-
Field Details
-
activator
-
-
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.- Specified by:
returnServantin interfacePOAPolicyMediator- Overrides:
returnServantin classPOAPolicyMediatorBase_R
-
etherealizeAll
public void etherealizeAll()Description copied from interface:POAPolicyMediatorEtherealize all servants associated with this POAPolicyMediator. Does nothing if the retention policy is non-retain. -
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
-
deactivateHelper
public void deactivateHelper(ActiveObjectMap.Key key, AOMEntry entry, Servant servant) throws ObjectNotActive, WrongPolicy - Overrides:
deactivateHelperin classPOAPolicyMediatorBase_R- Throws:
ObjectNotActiveWrongPolicy
-
idToServant
- Throws:
WrongPolicyObjectNotActive
-