APIdia Launch Partner
Top Description Constructors Methods
com.sun.jndi.url.dns

public Class dnsURLContext

extends GenericURLDirContext
Class Inheritance
Imports
java.net.MalformedURLException, java.util.Hashtable, javax.naming.*, javax.naming.spi.ResolveResult, com.sun.jndi.dns.*, com.sun.jndi.toolkit.url.GenericURLDirContext

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ResolveResult
getRootURLContext(String url, Hashtable<?, ?> env)

Implements abstract com.sun.jndi.toolkit.url.GenericURLContext.getRootURLContext.

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.

Inherited from com.sun.jndi.toolkit.url.GenericURLDirContext:
bindbindcreateSubcontextcreateSubcontextgetAttributesgetAttributesgetAttributesgetAttributesgetContinuationDirContextgetSchemagetSchemagetSchemaClassDefinitiongetSchemaClassDefinitionmodifyAttributesmodifyAttributesmodifyAttributesmodifyAttributesrebindrebindsearchsearchsearchsearchsearchsearchsearchsearch

Constructor Detail

dnsURLContextback to summary
public dnsURLContext(Hashtable<?, ?> env)

Method Detail

getRootURLContextback to summary
protected ResolveResult getRootURLContext(String url, Hashtable<?, ?> env) throws NamingException

Implements abstract com.sun.jndi.toolkit.url.GenericURLContext.getRootURLContext.

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.