public interface DirContext extends Context
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_ATTRIBUTE |
static int |
REMOVE_ATTRIBUTE |
static int |
REPLACE_ATTRIBUTE |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXESaddToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindstatic final int ADD_ATTRIBUTE
static final int REPLACE_ATTRIBUTE
static final int REMOVE_ATTRIBUTE
Attributes getAttributes(String name) throws NamingException
NamingExceptionAttributes getAttributes(String name, String[] attrIds) throws NamingException
NamingExceptionAttributes getAttributes(Name name) throws NamingException
NamingExceptionAttributes getAttributes(Name name, String[] attrIds) throws NamingException
NamingExceptionvoid modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException
NamingExceptionvoid modifyAttributes(String name, int mod_op, Attributes attrs) throws NamingException
NamingExceptionvoid modifyAttributes(Name name, ModificationItem[] mods) throws NamingException
NamingExceptionvoid modifyAttributes(String name, ModificationItem[] mods) throws NamingException
NamingExceptionvoid bind(Name name, Object obj, Attributes attrs) throws NamingException
NamingExceptionvoid bind(String name, Object obj, Attributes attrs) throws NamingException
NamingExceptionvoid rebind(Name name, Object obj, Attributes attrs) throws NamingException
NamingExceptionvoid rebind(String name, Object obj, Attributes attrs) throws NamingException
NamingExceptionDirContext createSubcontext(Name name, Attributes attrs) throws NamingException
NamingExceptionDirContext createSubcontext(String name, Attributes attrs) throws NamingException
NamingExceptionDirContext getSchema(Name name) throws NamingException
NamingExceptionDirContext getSchema(String name) throws NamingException
NamingExceptionDirContext getSchemaClassDefinition(Name name) throws NamingException
NamingExceptionDirContext getSchemaClassDefinition(String name) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
NamingExceptionNamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
NamingException