public interface POAPolicyMediator
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(byte[] id,
Servant servant) |
void |
clearAOM()
Delete everything in the active object map.
|
Servant |
deactivateObject(byte[] id)
Deactivate the object that is associated with the given id.
|
void |
etherealizeAll()
Etherealize all servants associated with this POAPolicyMediator.
|
Servant |
getDefaultServant()
Return the default servant.
|
Object |
getInvocationServant(byte[] id,
String operation)
Get the servant to use for an invocation with the
given id and operation.
|
Policies |
getPolicies()
Return the policies object that was used to create this
POAPolicyMediator.
|
int |
getScid()
Return the subcontract ID to use in the IIOP profile in IORs
created by this POAPolicyMediator's POA.
|
ServantManager |
getServantManager()
Return the servant manager.
|
int |
getServerId()
Return the server ID to use in the IIOP profile in IORs
created by this POAPolicyMediator's POA.
|
Servant |
idToServant(byte[] id) |
byte[] |
newSystemId()
Allocate a new, unique system ID.
|
void |
returnServant()
Release a servant that was obtained from getInvocationServant.
|
byte[] |
servantToId(Servant servant) |
void |
setDefaultServant(Servant servant)
Set the default servant.
|
void |
setServantManager(ServantManager servantManager)
Set the servant manager.
|
Policies getPolicies()
int getScid()
int getServerId()
Object getInvocationServant(byte[] id, String operation) throws ForwardRequest
id - the object ID for which we are requesting a servantoperation - the name of the operation to be performed on
the servantForwardRequestvoid returnServant()
void etherealizeAll()
void clearAOM()
ServantManager getServantManager() throws WrongPolicy
WrongPolicyvoid setServantManager(ServantManager servantManager) throws WrongPolicy
WrongPolicyServant getDefaultServant() throws NoServant, WrongPolicy
NoServantWrongPolicyvoid setDefaultServant(Servant servant) throws WrongPolicy
WrongPolicyvoid activateObject(byte[] id,
Servant servant)
throws ObjectAlreadyActive,
ServantAlreadyActive,
WrongPolicy
Servant deactivateObject(byte[] id) throws ObjectNotActive, WrongPolicy
ObjectNotActiveWrongPolicybyte[] newSystemId()
throws WrongPolicy
WrongPolicybyte[] servantToId(Servant servant) throws ServantNotActive, WrongPolicy
ServantNotActiveWrongPolicyServant idToServant(byte[] id) throws ObjectNotActive, WrongPolicy
ObjectNotActiveWrongPolicyCopyright © 2018 JBoss by Red Hat. All rights reserved.