Table of Contents Overview of the CORBA Name Service The CORBA Name Service Understanding the CORBA Name Service CORBA Name Service Reference CORBA Name Service Commands cns cnsbind cnsls cnsunbind Capabilities and Limitations of the CORBA Name Service Getting the Initial Reference to the NameService Environmental Object The CosNaming Data Structures Used by the CORBA Name Service The NamingContext Object CosNaming::NamingContext::bind() CosNaming::NamingContext::bind_context() CosNaming::NamingContext::bind_new_context() CosNaming::NamingContext::destroy() CosNaming::NamingContext::list() CosNaming::NamingContext::new_context() CosNaming::NamingContext::rebind() CosNaming::NamingContext::rebind_context() CosNaming::NamingContext::resolve() CosNaming::NamingContext::unbind() The NamingContextExt Object CosNaming::NamingContextExt::resolve_str() CosNaming::NamingContextExt::to_name() CosNaming::NamingContextExt::to_string() CosNaming::NamingContextExt::to_URL() The BindingIterator Object CosNaming::BindingIterator::destroy() CosNaming::BindingIterator::next_n() CosNaming::BindingIterator::next_one() Exceptions Raised by the CORBA Name Service AlreadyBound CannotProceed InvalidAddress InvalidName NotEmpty NotFound Managing an Oracle Tuxedo Namespace Installing the CORBA Name Service Starting the Server Process for the CORBA Name Service Making the Namespace Persistent Compressing the Persistent Storage File Removing Orphan NamingContext Objects Federating the Namespace Inbound Federation Outbound Federation Federation Across Oracle Tuxedo Domains Managing Binding Iterators Using the CORBA Name Service in Secure Oracle Tuxedo Applications Using the CORBA Name Service Sample Application How the Name Service Sample Application Works Building and Running the Name Service Sample Application Step 1: Copy the Files for the Name Service Sample Application into a Work Directory CORBA C++ Client and Server Version of the Name Service Sample Application Step 2: Change the Protection Attribute on the Files for the Name Service Sample Application Step 3: Verify the Settings of the Environment Variables Step 4: Execute the runme Command Developing an Application That Uses the CORBA Name Service Development Steps Step 1: Obtain the OMG IDL for the CosNaming Interfaces Step 2: Include the Declarations and Prototypes for the CosNaming Interfaces Step 3: Connect to the Oracle Tuxedo Namespace Step 4: Bind an Object to the Oracle Tuxedo Namespace Step 5: Use a Name to Locate an Object in the Oracle Tuxedo Namespace
Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.