org.omg.CosNaming

Class _NamingContextExtStub

public class _NamingContextExtStub extends _NamingContextStub implements NamingContextExt

The extended naming context stub (proxy), used on the client side. The most of the {@link NamingContextExt} methods contain the code for remote invocaton. However as remote invocation is potencially an expensive step, some trivial methods, not requiring access to the naming database, are handled locally (see the method descriptions for details).
Constructor Summary
_NamingContextExtStub()
Create the naming context stub.
Method Summary
Objectresolve_str(String a_name_string)
{@inheritDoc}
NameComponent[]to_name(String a_name_string)
Converts the string name representation into the array name representation.
Stringto_string(NameComponent[] a_name)
Convert the name array representation to the name string representation.
Stringto_url(String an_address, String a_name_string)
{@inheritDoc}
String[]_ids()
Return the array of repository ids for this object.

Constructor Detail

_NamingContextExtStub

public _NamingContextExtStub()
Create the naming context stub.

Method Detail

resolve_str

public Object resolve_str(String a_name_string)
{@inheritDoc}

to_name

public NameComponent[] to_name(String a_name_string)
Converts the string name representation into the array name representation. This method is handled locally.

to_string

public String to_string(NameComponent[] a_name)
Convert the name array representation to the name string representation. This method is handled locally.

to_url

public String to_url(String an_address, String a_name_string)
{@inheritDoc}

_ids

public String[] _ids()
Return the array of repository ids for this object. This stub can be the base of the two CORBA objects, so it has two repository ids, for {@link NamingContext} and for {@link NamingContextExt}.