public class

iiopURLContext

extends GenericURLContext
java.lang.Object
   ↳ com.sun.jndi.toolkit.url.GenericURLContext
     ↳ com.sun.jndi.url.iiop.iiopURLContext

Class Overview

An IIOP URL context.

Summary

[Expand]
Inherited Constants
From interface javax.naming.Context
[Expand]
Inherited Fields
From class com.sun.jndi.toolkit.url.GenericURLContext
Protected Methods
ResolveResult getRootURLContext(String name, Hashtable env)
Resolves 'name' into a target context with remaining name.
Name getURLSuffix(String prefix, String url)
Return the suffix of an "iiop", "iiopname", or "corbaname" url.
[Expand]
Inherited Methods
From class com.sun.jndi.toolkit.url.GenericURLContext
From class java.lang.Object
From interface javax.naming.Context

Protected Methods

protected ResolveResult getRootURLContext (String name, Hashtable env)

Resolves 'name' into a target context with remaining name. It only resolves the hostname/port number. The remaining name contains the rest of the name found in the URL. For example, with a iiop URL "iiop://localhost:900/rest/of/name", this method resolves "iiop://localhost:900/" to the "NameService" context on for the ORB at 'localhost' on port 900, and returns as the remaining name "rest/of/name".

protected Name getURLSuffix (String prefix, String url)

Return the suffix of an "iiop", "iiopname", or "corbaname" url. prefix parameter is ignored.