public abstract class POAPolicyMediatorBase extends Object implements POAPolicyMediator
Modifier and Type | Field and Description |
---|---|
protected boolean |
isImplicit |
protected boolean |
isSystemId |
protected boolean |
isUnique |
protected ORB |
orb |
protected POAImpl |
poa |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getServerId()
Return the server ID to use in the IIOP profile in IORs created by this POAPolicyMediator's POA.
|
protected abstract Object |
internalGetServant(byte[] id,
String operation) |
byte[] |
newSystemId()
Allocate a new, unique system ID.
|
protected void |
setDelegate(Servant servant,
byte[] id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activateObject, clearAOM, deactivateObject, etherealizeAll, getDefaultServant, getServantManager, idToServant, returnServant, servantToId, setDefaultServant, setServantManager
protected POAImpl poa
protected ORB orb
protected boolean isImplicit
protected boolean isUnique
protected boolean isSystemId
public final Policies getPolicies()
POAPolicyMediator
getPolicies
in interface POAPolicyMediator
public final int getScid()
POAPolicyMediator
getScid
in interface POAPolicyMediator
public final int getServerId()
POAPolicyMediator
getServerId
in interface POAPolicyMediator
public final Object getInvocationServant(byte[] id, String operation) throws ForwardRequest
POAPolicyMediator
getInvocationServant
in interface POAPolicyMediator
id
- the object ID for which we are requesting a servantoperation
- the name of the operation to be performed on the servantForwardRequest
protected final void setDelegate(Servant servant, byte[] id)
public byte[] newSystemId() throws WrongPolicy
POAPolicyMediator
newSystemId
in interface POAPolicyMediator
WrongPolicy
protected abstract Object internalGetServant(byte[] id, String operation) throws ForwardRequest
ForwardRequest
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.