javax.naming.directory

Class InitialDirContext

public class InitialDirContext extends InitialContext implements DirContext

UNKNOWN: June 25, 2001

Constructor Summary
InitialDirContext()
protected InitialDirContext(boolean lazy)
InitialDirContext(Hashtable<?,?> environment)
Method Summary
voidbind(Name name, Object obj, Attributes attrs)
voidbind(String name, Object obj, Attributes attrs)
DirContextcreateSubcontext(Name name, Attributes attrs)
DirContextcreateSubcontext(String name, Attributes attrs)
AttributesgetAttributes(String name)
AttributesgetAttributes(String name, String[] attrIds)
AttributesgetAttributes(Name name)
AttributesgetAttributes(Name name, String[] attrIds)
DirContextgetSchema(Name name)
DirContextgetSchema(String name)
DirContextgetSchemaClassDefinition(Name name)
DirContextgetSchemaClassDefinition(String name)
voidmodifyAttributes(Name name, int mod_op, Attributes attrs)
voidmodifyAttributes(String name, int mod_op, Attributes attrs)
voidmodifyAttributes(Name name, ModificationItem[] mods)
voidmodifyAttributes(String name, ModificationItem[] mods)
voidrebind(Name name, Object obj, Attributes attrs)
voidrebind(String name, Object obj, Attributes attrs)
NamingEnumeration<SearchResult>search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration<SearchResult>search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration<SearchResult>search(Name name, Attributes matchingAttributes)
NamingEnumeration<SearchResult>search(String name, Attributes matchingAttributes)
NamingEnumeration<SearchResult>search(Name name, String filter, SearchControls cons)
NamingEnumeration<SearchResult>search(String name, String filter, SearchControls cons)
NamingEnumeration<SearchResult>search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration<SearchResult>search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)

Constructor Detail

InitialDirContext

public InitialDirContext()

InitialDirContext

protected InitialDirContext(boolean lazy)

InitialDirContext

public InitialDirContext(Hashtable<?,?> environment)

Method Detail

bind

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

bind

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

createSubcontext

public DirContext createSubcontext(Name name, Attributes attrs)

createSubcontext

public DirContext createSubcontext(String name, Attributes attrs)

getAttributes

public Attributes getAttributes(String name)

getAttributes

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

getAttributes

public Attributes getAttributes(Name name)

getAttributes

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

getSchema

public DirContext getSchema(Name name)

getSchema

public DirContext getSchema(String name)

getSchemaClassDefinition

public DirContext getSchemaClassDefinition(Name name)

getSchemaClassDefinition

public DirContext getSchemaClassDefinition(String name)

modifyAttributes

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

modifyAttributes

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

modifyAttributes

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

modifyAttributes

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

rebind

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

rebind

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

search

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

search

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

search

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

search

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

search

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

search

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

search

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

search

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