public class

dnsURLContext

extends GenericURLDirContext
java.lang.Object
   ↳ com.sun.jndi.toolkit.url.GenericURLContext
     ↳ com.sun.jndi.toolkit.url.GenericURLDirContext
       ↳ com.sun.jndi.url.dns.dnsURLContext

Class Overview

A DNS URL context resolves names that are DNS pseudo-URLs. See com.sun.jndi.dns.DnsUrl for a description of the URL format.

Summary

[Expand]
Inherited Constants
From interface javax.naming.Context
From interface javax.naming.directory.DirContext
[Expand]
Inherited Fields
From class com.sun.jndi.toolkit.url.GenericURLContext
Public Constructors
dnsURLContext(Hashtable env)
Protected Methods
ResolveResult getRootURLContext(String url, Hashtable env)
Resolves the host and port of "url" to a root context connected to the named DNS server, and returns the domain name as the remaining name.
[Expand]
Inherited Methods
From class com.sun.jndi.toolkit.url.GenericURLDirContext
From class com.sun.jndi.toolkit.url.GenericURLContext
From class java.lang.Object
From interface javax.naming.Context
From interface javax.naming.directory.DirContext

Public Constructors

public dnsURLContext (Hashtable env)

Protected Methods

protected ResolveResult getRootURLContext (String url, Hashtable env)

Resolves the host and port of "url" to a root context connected to the named DNS server, and returns the domain name as the remaining name.