org.omg.PortableServer.portable
Interface Delegate
public
interface
Delegate
Each Servant has an associated delegate, where the most of the calls
are forwarded. The delegate is responsible for providing the actual
functionality. This class is required to supports a conceptions of
the CORBA 2.3.1 Servant.
Method Summary |
POA | default_POA(Servant a_servant)
Returns the root POA of the ORB instance, associated with this servant.
|
Object | get_interface_def(Servant a_servant)
Get the interface repository defintion
InterfaceDef for this Object. |
boolean | is_a(Servant a_servant, String an_id)
Checks if the passed servant is an instance of the given CORBA IDL type.
|
boolean | non_existent(Servant a_servant)
Determines if the server object for this reference has already
been destroyed.
|
byte[] | object_id(Servant a_servant)
Return the invocation target object identifier as a byte array. |
ORB | orb(Servant a_servant)
Returns the ORB that is directly associated with the given servant. |
POA | poa(Servant a_servant)
Get POA that is directly associated with the given servant. |
Object | this_object(Servant a_servant)
Obtains the CORBA object reference that is an invocation target for the
given servant. |
public POA default_POA(Servant a_servant)
Returns the root POA of the ORB instance, associated with this servant.
It is the same POA that would be returned by resolving the initial
reference "RootPOA" for that orb. The default Servant#_default_POA()
method forwards call to the delegate can be overridden to
obtain the alternative default POA.
See Also: ORB#resolve_initial_references
public Object get_interface_def(Servant a_servant)
Get the interface repository defintion
InterfaceDef
for this Object.
public boolean is_a(Servant a_servant, String an_id)
Checks if the passed servant is an instance of the given CORBA IDL type.
Parameters: a_servant a servant to check. an_id a repository ID, representing an IDL type for that the
servant must be checked.
Returns: true if the servant is an instance of the given type, false
otherwise.
public boolean non_existent(Servant a_servant)
Determines if the server object for this reference has already
been destroyed.
Returns: true if the object has been destroyed, false otherwise.
public byte[] object_id(Servant a_servant)
Return the invocation target object identifier as a byte array.
public ORB orb(Servant a_servant)
Returns the ORB that is directly associated with the given servant.
public POA poa(Servant a_servant)
Get POA that is directly associated with the given servant.
public Object this_object(Servant a_servant)
Obtains the CORBA object reference that is an invocation target for the
given servant.