FileDocCategorySizeDatePackage
Delegate.javaAPI DocJava SE 5 API3180Fri Aug 26 14:58:36 BST 2005org.omg.PortableServer.portable

Delegate

public interface Delegate
The portability package contains interfaces and classes that are designed for and intended to be used by ORB implementor. It exposes the publicly defined APIs that are used to connect stubs and skeletons to the ORB. The Delegate interface provides the ORB vendor specific implementation of PortableServer::Servant. Conformant to spec CORBA V2.3.1, ptc/00-01-08.pdf

Fields Summary
Constructors Summary
Methods Summary
public org.omg.PortableServer.POAdefault_POA(org.omg.PortableServer.Servant Self)
The default behavior of this function is to return the root POA from the ORB instance associated with the servant.

param
Self the servant.
return
POA associated with the servant class.

public org.omg.CORBA.Objectget_interface_def(org.omg.PortableServer.Servant self)
This operation returns an object in the Interface Repository which provides type information that may be useful to a program.

param
self the servant.
return
type information corresponding to the object.

public booleanis_a(org.omg.PortableServer.Servant Self, java.lang.String Repository_Id)
This method checks to see if the specified repid is present on the list returned by _all_interfaces() or is the repository id for the generic CORBA Object.

param
Self the servant.
param
Repository_Id the repository_id to be checked in the repository list or against the id of generic CORBA object.
return
boolean indicating whether the specified repid is in the list or is same as that got generic CORBA object.

public booleannon_existent(org.omg.PortableServer.Servant Self)
This operation is used to check for the existence of the Object.

param
Self the servant.
return
boolean true to indicate that object does not exist, and false otherwise.

public byte[]object_id(org.omg.PortableServer.Servant Self)
The method _object_id() is equivalent to calling PortableServer::Current::get_object_id.

param
Self the servant.
return
ObjectId associated with this servant.

public org.omg.CORBA.ORBorb(org.omg.PortableServer.Servant Self)
Convenience method that returns the instance of the ORB currently associated with the Servant.

param
Self the servant.
return
ORB associated with the Servant.

public org.omg.PortableServer.POApoa(org.omg.PortableServer.Servant Self)
The method _poa() is equivalent to calling PortableServer::Current:get_POA.

param
Self the servant.
return
POA associated with the servant.

public org.omg.CORBA.Objectthis_object(org.omg.PortableServer.Servant Self)
This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.

param
Self the servant.
return
Object reference associated with the request.