org.omg.CosNaming

Interface NamingContextExtOperations

    • Method Detail

      • to_string

        String to_string(NameComponent[] n)
                         throws InvalidName
        This operation creates a stringified name from the array of Name components.
        Parameters:
        n - Name of the object

        Throws:
        org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

        InvalidName
      • to_name

        NameComponent[] to_name(String sn)
                                throws InvalidName
        This operation converts a Stringified Name into an equivalent array of Name Components.
        Parameters:
        sn - Stringified Name of the object

        Throws:
        org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

        InvalidName
      • to_url

        String to_url(String addr,
                    String sn)
                      throws InvalidAddress,
                             InvalidName
        This operation creates a URL based "iiopname://" format name from the Stringified Name of the object.
        Parameters:
        addr - internet based address of the host machine where Name Service is running

        sn - Stringified Name of the object

        Throws:
        org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

        org.omg.CosNaming.NamingContextPackage.InvalidAddress - Indicates the internet based address of the host machine is incorrect

        InvalidAddress
        InvalidName
      • resolve_str

        Object resolve_str(String sn)
                           throws NotFound,
                                  CannotProceed,
                                  InvalidName
        This operation resolves the Stringified name into the object reference.
        Parameters:
        sn - Stringified Name of the object

        Throws:
        NotFound - Indicates there is no object reference for the given name.

        CannotProceed - Indicates that the given compound name is incorrect

        org.omg.CosNaming.NamingContextExtPackage.InvalidName - Indicates the name does not identify a binding.

        InvalidName

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/cosnaming/namingcontextextoperations.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