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

public final Class ldapURLContext

extends GenericURLDirContext
Class Inheritance
Imports
javax.naming.spi.ResolveResult, javax.naming.*, javax.naming.directory.*, java.util.Hashtable, .StringTokenizer, com.sun.jndi.ldap.LdapURL

An LDAP URL context.
Authors
Rosanna Lee, Scott Seligman

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
bind(String name, Object obj)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.bind.

Implements javax.naming.Context.bind.

Binds a name to an object.

public void
bind(Name name, Object obj)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.bind.

Implements javax.naming.Context.bind.

Binds a name to an object.

public void
bind(String name, Object obj, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.bind.

Implements javax.naming.directory.DirContext.bind.

Binds a name to an object, along with associated attributes.

public void
bind(Name name, Object obj, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.bind.

Implements javax.naming.directory.DirContext.bind.

Binds a name to an object, along with associated attributes.

public String
composeName(String name, String prefix)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.composeName.

Implements javax.naming.Context.composeName.

Composes the name of this context with a name relative to this context.

public Name
composeName(Name name, Name prefix)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.composeName.

Implements javax.naming.Context.composeName.

Composes the name of this context with a name relative to this context.

public Context
public Context
public DirContext
createSubcontext(String name, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.createSubcontext.

Implements javax.naming.directory.DirContext.createSubcontext.

Creates and binds a new context, along with associated attributes.

public DirContext
createSubcontext(Name name, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.createSubcontext.

Implements javax.naming.directory.DirContext.createSubcontext.

Creates and binds a new context, along with associated attributes.

public void
destroySubcontext(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.destroySubcontext.

Implements javax.naming.Context.destroySubcontext.

Destroys the named context and removes it from the namespace.

public void
destroySubcontext(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.destroySubcontext.

Implements javax.naming.Context.destroySubcontext.

Destroys the named context and removes it from the namespace.

public Attributes
getAttributes(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes.

Implements javax.naming.directory.DirContext.getAttributes.

Retrieves all of the attributes associated with a named object.

public Attributes
getAttributes(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes.

Implements javax.naming.directory.DirContext.getAttributes.

Retrieves all of the attributes associated with a named object.

public Attributes
getAttributes(String name, String[] attrIds)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes.

Implements javax.naming.directory.DirContext.getAttributes.

Retrieves selected attributes associated with a named object.

public Attributes
getAttributes(Name name, String[] attrIds)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes.

Implements javax.naming.directory.DirContext.getAttributes.

Retrieves selected attributes associated with a named object.

public NameParser
getNameParser(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.getNameParser.

Implements javax.naming.Context.getNameParser.

Retrieves the parser associated with the named context.

public NameParser
getNameParser(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.getNameParser.

Implements javax.naming.Context.getNameParser.

Retrieves the parser associated with the named context.

protected ResolveResult
getRootURLContext(String name, Hashtable<?, ?> env)

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

Resolves 'name' into a target context with remaining name.

public DirContext
getSchema(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getSchema.

Implements javax.naming.directory.DirContext.getSchema.

Retrieves the schema associated with the named object.

public DirContext
getSchema(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getSchema.

Implements javax.naming.directory.DirContext.getSchema.

Retrieves the schema associated with the named object.

public DirContext
getSchemaClassDefinition(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getSchemaClassDefinition.

Implements javax.naming.directory.DirContext.getSchemaClassDefinition.

Retrieves a context containing the schema objects of the named object's class definitions.

public DirContext
getSchemaClassDefinition(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.getSchemaClassDefinition.

Implements javax.naming.directory.DirContext.getSchemaClassDefinition.

Retrieves a context containing the schema objects of the named object's class definitions.

protected Name
getURLSuffix(String prefix, String url)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.getURLSuffix.

Return the suffix of an ldap url.

public NamingEnumeration<NameClassPair>
list(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.list.

Implements javax.naming.Context.list.

Enumerates the names bound in the named context, along with the class names of objects bound to them.

public NamingEnumeration<NameClassPair>
list(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.list.

Implements javax.naming.Context.list.

Enumerates the names bound in the named context, along with the class names of objects bound to them.

public NamingEnumeration<Binding>
listBindings(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.listBindings.

Implements javax.naming.Context.listBindings.

Enumerates the names bound in the named context, along with the objects bound to them.

public NamingEnumeration<Binding>
listBindings(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.listBindings.

Implements javax.naming.Context.listBindings.

Enumerates the names bound in the named context, along with the objects bound to them.

public Object
lookup(String name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.lookup.

Implements javax.naming.Context.lookup.

Retrieves the named object.

public Object
lookup(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.lookup.

Implements javax.naming.Context.lookup.

Retrieves the named object.

public void
modifyAttributes(String name, int mod_op, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.modifyAttributes.

Implements javax.naming.directory.DirContext.modifyAttributes.

Modifies the attributes associated with a named object.

public void
modifyAttributes(Name name, int mod_op, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.modifyAttributes.

Implements javax.naming.directory.DirContext.modifyAttributes.

Modifies the attributes associated with a named object.

public void
modifyAttributes(String name, ModificationItem[] mods)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.modifyAttributes.

Implements javax.naming.directory.DirContext.modifyAttributes.

Modifies the attributes associated with a named object using an ordered list of modifications.

public void
modifyAttributes(Name name, ModificationItem[] mods)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.modifyAttributes.

Implements javax.naming.directory.DirContext.modifyAttributes.

Modifies the attributes associated with a named object using an ordered list of modifications.

public void
rebind(String name, Object obj)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.rebind.

Implements javax.naming.Context.rebind.

Binds a name to an object, overwriting any existing binding.

public void
rebind(Name name, Object obj)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.rebind.

Implements javax.naming.Context.rebind.

Binds a name to an object, overwriting any existing binding.

public void
rebind(String name, Object obj, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.rebind.

Implements javax.naming.directory.DirContext.rebind.

Binds a name to an object, along with associated attributes, overwriting any existing binding.

public void
rebind(Name name, Object obj, Attributes attrs)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.rebind.

Implements javax.naming.directory.DirContext.rebind.

Binds a name to an object, along with associated attributes, overwriting any existing binding.

public void
rename(String oldName, String newName)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.rename.

Implements javax.naming.Context.rename.

Binds a new name to the object bound to an old name, and unbinds the old name.

public void
rename(Name oldName, Name newName)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.rename.

Implements javax.naming.Context.rename.

Binds a new name to the object bound to an old name, and unbinds the old name.

public NamingEnumeration<SearchResult>
search(String name, Attributes matchingAttributes)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in a single context for objects that contain a specified set of attributes.

public NamingEnumeration<SearchResult>
search(Name name, Attributes matchingAttributes)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in a single context for objects that contain a specified set of attributes.

public NamingEnumeration<SearchResult>
search(String name, Attributes matchingAttributes, String[] attributesToReturn)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.

public NamingEnumeration<SearchResult>
search(Name name, Attributes matchingAttributes, String[] attributesToReturn)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.

public NamingEnumeration<SearchResult>
search(String name, String filter, SearchControls cons)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in the named context or object for entries that satisfy the given search filter.

public NamingEnumeration<SearchResult>
search(Name name, String filter, SearchControls cons)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in the named context or object for entries that satisfy the given search filter.

public NamingEnumeration<SearchResult>
search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in the named context or object for entries that satisfy the given search filter.

public NamingEnumeration<SearchResult>
search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)

Overrides com.sun.jndi.toolkit.url.GenericURLDirContext.search.

Implements javax.naming.directory.DirContext.search.

Searches in the named context or object for entries that satisfy the given search filter.

private NamingEnumeration<SearchResult>
private static String
private static SearchControls
public void
public void
unbind(Name name)

Overrides com.sun.jndi.toolkit.url.GenericURLContext.unbind.

Implements javax.naming.Context.unbind.

Unbinds the named object.

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