This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.omg.CosNaming
interface NamingContextExtOperations

All Superinterfaces:
NamingContextOperations
All Known Implementing Classes:
NamingContextExtPOA

public interface NamingContextExtOperations
extends NamingContextOperations

NamingContextExt is the extension of NamingContext which contains a set of name bindings in which each name is unique and is part of Interoperable Naming Service. Different names can be bound to an object in the same or different contexts at the same time. Using NamingContextExt, you can use URL-based names to bind and resolve.

See CORBA COS Naming Specification.


Method Summary
 Object

          This operation resolves the Stringified name into the object reference.
 NameComponent[]

          This operation converts a Stringified Name into an equivalent array of Name Components.
 String

          This operation creates a stringified name from the array of Name components.
 String
to_url(String addr, String sn)

          This operation creates a URL based "iiopname://" format name from the Stringified Name of the object.
 
Methods inherited from class org.omg.CosNaming.NamingContextOperations
bind, bind_context, bind_new_context, destroy, list, new_context, rebind, rebind_context, resolve, unbind
 

Method Detail

resolve_str

public 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

InvalidName

to_name

public 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:
InvalidName

to_string

public 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:
InvalidName

to_url

public 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:
InvalidAddress
InvalidName


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.