Package com.sun.corba.ee.impl.oa.poa
Class POAPolicyMediatorBase_R
java.lang.Object
com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase
com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase_R
- All Implemented Interfaces:
POAPolicyMediator
- Direct Known Subclasses:
POAPolicyMediatorImpl_R_AOM
,POAPolicyMediatorImpl_R_UDS
,POAPolicyMediatorImpl_R_USM
-
Field Summary
FieldsFields inherited from class com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase
isImplicit, isSystemId, isUnique, omgWrapper, orb, poa, wrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
activateObject
(byte[] id, Servant servant) protected void
activateServant
(ActiveObjectMap.Key key, AOMEntry entry, Servant servant) void
clearAOM()
Delete everything in the active object map.protected void
deactivateHelper
(ActiveObjectMap.Key key, AOMEntry entry, Servant s) deactivateObject
(byte[] id) Deactivate the object that is associated with the given id.private void
deactivatingObject
(Servant s, POAImpl poa) protected Servant
internalIdToServant
(byte[] id) protected Servant
void
Release a servant that was obtained from getInvocationServant.byte[]
servantToId
(Servant servant) Methods inherited from class com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase
getInvocationServant, getPolicies, getScid, getServerId, internalGetServant, newSystemId, setDelegate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.corba.ee.impl.oa.poa.POAPolicyMediator
etherealizeAll, getDefaultServant, getServantManager, idToServant, setDefaultServant, setServantManager
-
Field Details
-
activeObjectMap
-
-
Constructor Details
-
POAPolicyMediatorBase_R
-
-
Method Details
-
returnServant
public void returnServant()Description copied from interface:POAPolicyMediator
Release a servant that was obtained from getInvocationServant. -
clearAOM
public void clearAOM()Description copied from interface:POAPolicyMediator
Delete everything in the active object map. -
internalKeyToServant
-
internalIdToServant
-
activateServant
-
activateObject
public final void activateObject(byte[] id, Servant servant) throws WrongPolicy, ServantAlreadyActive, ObjectAlreadyActive -
deactivateObject
Description copied from interface:POAPolicyMediator
Deactivate the object that is associated with the given id. Returns the servant for id.- Parameters:
id
- ID of the object to deactivate- Returns:
- Servant for the ID
- Throws:
ObjectNotActive
- if the object was not activeWrongPolicy
- if not supported by the current policy
-
deactivateHelper
protected void deactivateHelper(ActiveObjectMap.Key key, AOMEntry entry, Servant s) throws ObjectNotActive, WrongPolicy - Throws:
ObjectNotActive
WrongPolicy
-
deactivatingObject
-
deactivateObject
- Throws:
ObjectNotActive
WrongPolicy
-
servantToId
- Throws:
ServantNotActive
WrongPolicy
-