| java.lang.Object org.apache.harmony.jndi.provider.GenericURLContext org.apache.harmony.jndi.provider.ldap.ldapURLContext
Constructor Summary | |
public | ldapURLContext() Creates instance of this context with empty environment. | public | ldapURLContext(Hashtable, ?> environment) Creates instance of this context with specified environment. |
Method Summary | |
public void | bind(Name name, Object obj, Attributes attributes) | public void | bind(String url, Object obj, Attributes attributes) | public DirContext | createSubcontext(Name name, Attributes attributes) | public DirContext | createSubcontext(String url, Attributes attributes) | public Attributes | getAttributes(Name name) | public Attributes | getAttributes(Name name, String[] as) | public Attributes | getAttributes(String url) | public Attributes | getAttributes(String url, String[] as) | protected DirContext | getContinuationContext(Name name) | protected ResolveResult | getRootURLContext(String url, Hashtable, ?> env) | public DirContext | getSchema(Name name) | public DirContext | getSchema(String url) | public DirContext | getSchemaClassDefinition(Name name) | public DirContext | getSchemaClassDefinition(String url) | public void | modifyAttributes(Name name, int i, Attributes attributes) | public void | modifyAttributes(Name name, ModificationItem[] modificationItems) | public void | modifyAttributes(String url, int i, Attributes attributes) | public void | modifyAttributes(String url, ModificationItem[] modificationItems) | public void | rebind(Name name, Object obj, Attributes attributes) | public void | rebind(String url, Object obj, Attributes attributes) | public NamingEnumeration<SearchResult> | search(Name name, Attributes attributes) | public NamingEnumeration<SearchResult> | search(Name name, Attributes attributes, String[] as) | public NamingEnumeration<SearchResult> | search(Name name, String filter, Object[] objs, SearchControls searchControls) | public NamingEnumeration<SearchResult> | search(Name name, String filter, SearchControls searchControls) | public NamingEnumeration<SearchResult> | search(String url, Attributes attributes) | public NamingEnumeration<SearchResult> | search(String url, Attributes attributes, String[] as) url is an LDAP URL, which may contains query ('?') parts,
and any parts in URL should override corresponding arguments. | public NamingEnumeration<SearchResult> | search(String url, String filter, Object[] objs, SearchControls searchControls) | public NamingEnumeration<SearchResult> | search(String url, String filter, SearchControls searchControls) |
ldapURLContext | public ldapURLContext()(Code) | | Creates instance of this context with empty environment.
|
ldapURLContext | public ldapURLContext(Hashtable, ?> environment)(Code) | | Creates instance of this context with specified environment.
Parameters: environment - Environment to copy. |
search | public NamingEnumeration<SearchResult> search(String url, Attributes attributes, String[] as) throws NamingException(Code) | | url is an LDAP URL, which may contains query ('?') parts,
and any parts in URL should override corresponding arguments. For
example, if url contains filter parts, the
attributes arguments would be useless, LDAP search will
use filter from url.
|
Methods inherited from org.apache.harmony.jndi.provider.GenericURLContext | public Object addToEnvironment(String propName, Object propVal)(Code)(Java Doc) public void bind(Name name, Object obj) throws NamingException(Code)(Java Doc) public void bind(String name, Object obj) throws NamingException(Code)(Java Doc) public void close()(Code)(Java Doc) public Name composeName(Name name, Name prefix) throws NamingException(Code)(Java Doc) public String composeName(String name, String prefix)(Code)(Java Doc) final protected CannotProceedException createCannotProceedException(Name name) throws NamingException(Code)(Java Doc) public Context createSubcontext(Name name) throws NamingException(Code)(Java Doc) public Context createSubcontext(String name) throws NamingException(Code)(Java Doc) final protected static String decodeURLString(String str) throws IllegalArgumentException(Code)(Java Doc) public void destroySubcontext(Name name) throws NamingException(Code)(Java Doc) public void destroySubcontext(String name) throws NamingException(Code)(Java Doc) protected Context getContinuationContext(Name name) throws NamingException(Code)(Java Doc) public Hashtable, ?> getEnvironment()(Code)(Java Doc) public String getNameInNamespace()(Code)(Java Doc) public NameParser getNameParser(Name name) throws NamingException(Code)(Java Doc) public NameParser getNameParser(String name) throws NamingException(Code)(Java Doc) abstract protected ResolveResult getRootURLContext(String url, Hashtable, ?> environment) throws NamingException(Code)(Java Doc) protected String getURLPrefix(String url) throws NamingException(Code)(Java Doc) protected Name getURLSuffix(String prefix, String url) throws NamingException(Code)(Java Doc) public NamingEnumeration<NameClassPair> list(Name name) throws NamingException(Code)(Java Doc) public NamingEnumeration<NameClassPair> list(String name) throws NamingException(Code)(Java Doc) public NamingEnumeration<Binding> listBindings(Name name) throws NamingException(Code)(Java Doc) public NamingEnumeration<Binding> listBindings(String name) throws NamingException(Code)(Java Doc) public Object lookup(Name name) throws NamingException(Code)(Java Doc) public Object lookup(String name) throws NamingException(Code)(Java Doc) public Object lookupLink(Name name) throws NamingException(Code)(Java Doc) public Object lookupLink(String name) throws NamingException(Code)(Java Doc) public void rebind(Name name, Object obj) throws NamingException(Code)(Java Doc) public void rebind(String name, Object obj) throws NamingException(Code)(Java Doc) public Object removeFromEnvironment(String propName)(Code)(Java Doc) public void rename(Name oldName, Name newName) throws NamingException(Code)(Java Doc) public void rename(String oldName, String newName) throws NamingException(Code)(Java Doc) public void unbind(Name name) throws NamingException(Code)(Java Doc) public void unbind(String name) throws NamingException(Code)(Java Doc) protected boolean urlEquals(String url1, String url2)(Code)(Java Doc)
|
|
|