org.omg.PortableServer.portable

Interface 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
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      POA default_POA(Servant Self)
      The default behavior of this function is to return the root POA from the ORB instance associated with the servant.
      Object get_interface_def(Servant self)
      This operation returns an object in the Interface Repository which provides type information that may be useful to a program.
      boolean is_a(Servant Self, 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.
      boolean non_existent(Servant Self)
      This operation is used to check for the existence of the Object.
      byte[] object_id(Servant Self)
      The method _object_id() is equivalent to calling PortableServer::Current::get_object_id.
      ORB orb(Servant Self)
      Convenience method that returns the instance of the ORB currently associated with the Servant.
      POA poa(Servant Self)
      The method _poa() is equivalent to calling PortableServer::Current:get_POA.
      Object this_object(Servant Self)
      This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.

      Delegate (Java Platform SE 7 ) Home of API Java Contents Haut

    • Method Detail

      • orb

        ORB orb(Servant Self)
        Convenience method that returns the instance of the ORB currently associated with the Servant.
        Parameters:
        Self - the servant.
        Returns:
        ORB associated with the Servant.
      • this_object

        Object this_object(Servant Self)
        This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.
        Parameters:
        Self - the servant.
        Returns:
        Object reference associated with the request.
      • poa

        POA poa(Servant Self)
        The method _poa() is equivalent to calling PortableServer::Current:get_POA.
        Parameters:
        Self - the servant.
        Returns:
        POA associated with the servant.
      • object_id

        byte[] object_id(Servant Self)
        The method _object_id() is equivalent to calling PortableServer::Current::get_object_id.
        Parameters:
        Self - the servant.
        Returns:
        ObjectId associated with this servant.
      • default_POA

        POA default_POA(Servant Self)
        The default behavior of this function is to return the root POA from the ORB instance associated with the servant.
        Parameters:
        Self - the servant.
        Returns:
        POA associated with the servant class.
      • is_a

        boolean is_a(Servant Self,
                   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.
        Parameters:
        Self - the servant.
        Repository_Id - the repository_id to be checked in the repository list or against the id of generic CORBA object.
        Returns:
        boolean indicating whether the specified repid is in the list or is same as that got generic CORBA object.
      • non_existent

        boolean non_existent(Servant Self)
        This operation is used to check for the existence of the Object.
        Parameters:
        Self - the servant.
        Returns:
        boolean true to indicate that object does not exist, and false otherwise.
      • get_interface_def

        Object get_interface_def(Servant self)
        This operation returns an object in the Interface Repository which provides type information that may be useful to a program.
        Parameters:
        self - the servant.
        Returns:
        type information corresponding to the object.

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-org/omg/portableserver/portable/delegate.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut