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 servantForwardRequest
void returnServant()
void etherealizeAll()
void clearAOM()
ServantManager getServantManager() throws WrongPolicy
WrongPolicy
void setServantManager(ServantManager servantManager) throws WrongPolicy
WrongPolicy
Servant getDefaultServant() throws NoServant, WrongPolicy
NoServant
WrongPolicy
void setDefaultServant(Servant servant) throws WrongPolicy
WrongPolicy
void activateObject(byte[] id, Servant servant) throws ObjectAlreadyActive, ServantAlreadyActive, WrongPolicy
Servant deactivateObject(byte[] id) throws ObjectNotActive, WrongPolicy
ObjectNotActive
WrongPolicy
byte[] newSystemId() throws WrongPolicy
WrongPolicy
byte[] servantToId(Servant servant) throws ServantNotActive, WrongPolicy
ServantNotActive
WrongPolicy
Servant idToServant(byte[] id) throws ObjectNotActive, WrongPolicy
ObjectNotActive
WrongPolicy
Copyright © 2017 JBoss by Red Hat. All rights reserved.