public class URLPreferringDirContextDecorator extends URLPreferringContextDecorator implements DirContext
URLPreferringContextDecorator this class implements the similar logic
for DirContexts.ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTEAPPLET, 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_PREFIXES| Constructor and Description |
|---|
URLPreferringDirContextDecorator() |
URLPreferringDirContextDecorator(DirContext ctx) |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, equals, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getOriginal, hashCode, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddToEnvironment, 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, unbindpublic URLPreferringDirContextDecorator()
public URLPreferringDirContextDecorator(DirContext ctx)
protected DirContext checkAndCast(Context ctx) throws NamingException
NamingExceptionprotected DirContext getURLOrDefaultInitCtx(Name name) throws NamingException
getURLOrDefaultInitCtx in class URLPreferringContextDecoratorNamingExceptionprotected DirContext getURLOrDefaultInitCtx(String name) throws NamingException
getURLOrDefaultInitCtx in class URLPreferringContextDecoratorNamingExceptionpublic Attributes getAttributes(Name name) throws NamingException
getAttributes in interface DirContextNamingExceptionpublic Attributes getAttributes(String name) throws NamingException
getAttributes in interface DirContextNamingExceptionpublic Attributes getAttributes(Name name, String[] attrIds) throws NamingException
getAttributes in interface DirContextNamingExceptionpublic Attributes getAttributes(String name, String[] attrIds) throws NamingException
getAttributes in interface DirContextNamingExceptionpublic void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException
modifyAttributes in interface DirContextNamingExceptionpublic void modifyAttributes(String name, int mod_op, Attributes attrs) throws NamingException
modifyAttributes in interface DirContextNamingExceptionpublic void modifyAttributes(Name name, ModificationItem[] mods) throws NamingException
modifyAttributes in interface DirContextNamingExceptionpublic void modifyAttributes(String name, ModificationItem[] mods) throws NamingException
modifyAttributes in interface DirContextNamingExceptionpublic void bind(Name name, Object obj, Attributes attrs) throws NamingException
bind in interface DirContextNamingExceptionpublic void bind(String name, Object obj, Attributes attrs) throws NamingException
bind in interface DirContextNamingExceptionpublic void rebind(Name name, Object obj, Attributes attrs) throws NamingException
rebind in interface DirContextNamingExceptionpublic void rebind(String name, Object obj, Attributes attrs) throws NamingException
rebind in interface DirContextNamingExceptionpublic DirContext createSubcontext(Name name, Attributes attrs) throws NamingException
createSubcontext in interface DirContextNamingExceptionpublic DirContext createSubcontext(String name, Attributes attrs) throws NamingException
createSubcontext in interface DirContextNamingExceptionpublic DirContext getSchema(Name name) throws NamingException
getSchema in interface DirContextNamingExceptionpublic DirContext getSchema(String name) throws NamingException
getSchema in interface DirContextNamingExceptionpublic DirContext getSchemaClassDefinition(Name name) throws NamingException
getSchemaClassDefinition in interface DirContextNamingExceptionpublic DirContext getSchemaClassDefinition(String name) throws NamingException
getSchemaClassDefinition in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
search in interface DirContextNamingExceptionpublic NamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
search in interface DirContextNamingExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.