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
public abstract class POAPolicyMediatorBase_R extends POAPolicyMediatorBase
-
-
Field Summary
Fields Modifier and Type Field Description protected ActiveObjectMap
activeObjectMap
-
Fields inherited from class com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase
isImplicit, isSystemId, isUnique, omgWrapper, orb, poa, wrapper
-
-
Constructor Summary
Constructors Constructor Description POAPolicyMediatorBase_R(Policies policies, POAImpl poa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Servant
deactivateObject(byte[] id)
Deactivate the object that is associated with the given id.Servant
deactivateObject(ActiveObjectMap.Key key)
private void
deactivatingObject(Servant s, POAImpl poa)
protected Servant
internalIdToServant(byte[] id)
protected Servant
internalKeyToServant(ActiveObjectMap.Key key)
void
returnServant()
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 Detail
-
activeObjectMap
protected ActiveObjectMap activeObjectMap
-
-
Method Detail
-
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
protected Servant internalKeyToServant(ActiveObjectMap.Key key)
-
internalIdToServant
protected Servant internalIdToServant(byte[] id)
-
activateServant
protected void activateServant(ActiveObjectMap.Key key, AOMEntry entry, Servant servant)
-
activateObject
public final void activateObject(byte[] id, Servant servant) throws WrongPolicy, ServantAlreadyActive, ObjectAlreadyActive
-
deactivateObject
public Servant deactivateObject(byte[] id) throws ObjectNotActive, WrongPolicy
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
-
deactivateObject
public Servant deactivateObject(ActiveObjectMap.Key key) throws ObjectNotActive, WrongPolicy
- Throws:
ObjectNotActive
WrongPolicy
-
servantToId
public byte[] servantToId(Servant servant) throws ServantNotActive, WrongPolicy
- Throws:
ServantNotActive
WrongPolicy
-
-