public class

rmiURLContext

extends GenericURLContext
java.lang.Object
   ↳ com.sun.jndi.toolkit.url.GenericURLContext
     ↳ com.sun.jndi.url.rmi.rmiURLContext

Class Overview

An RMI URL context resolves names that are URLs of the form

   rmi://[host][:port][/[object]]
 or
   rmi:[/][object]
 
If an object is specified, the URL resolves to the named object. Otherwise, the URL resolves to the specified RMI registry.

Summary

[Expand]
Inherited Constants
From interface javax.naming.Context
[Expand]
Inherited Fields
From class com.sun.jndi.toolkit.url.GenericURLContext
Public Constructors
rmiURLContext(Hashtable env)
Protected Methods
ResolveResult getRootURLContext(String url, Hashtable env)
Resolves the registry portion of "url" to the corresponding RMI registry, and returns the atomic object name as the remaining name.
[Expand]
Inherited Methods
From class com.sun.jndi.toolkit.url.GenericURLContext
From class java.lang.Object
From interface javax.naming.Context

Public Constructors

public rmiURLContext (Hashtable env)

Protected Methods

protected ResolveResult getRootURLContext (String url, Hashtable env)

Resolves the registry portion of "url" to the corresponding RMI registry, and returns the atomic object name as the remaining name.