public abstract class RetryingDirContext extends RetryingContext implements DirContext
RetryingDirContext
retries the methods defined by javax.naming.directory.DirContext
according to the specified schedule.DEFAULT_EXCEPTION_CLASSES
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, 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_PREFIXES
Constructor and Description |
---|
RetryingDirContext(RetrySchedule schedule,
int maxRetries,
org.slf4j.Logger logger)
Creates a new instance of RetryingDirContext.
|
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getDelegate, getEnvironment, getLogger, getMaxRetries, getNameInNamespace, getNameParser, getNameParser, getSchedule, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, resetDelegate, unbind, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToEnvironment, 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, unbind
newDelegate
public RetryingDirContext(RetrySchedule schedule, int maxRetries, org.slf4j.Logger logger) throws NamingException
schedule
- maxRetries
- logger
- NamingException
public void bind(Name name, Object obj, Attributes attrs) throws NamingException
bind
in interface DirContext
NamingException
DirContext.bind(javax.naming.Name,
java.lang.Object, javax.naming.directory.Attributes)
public void bind(String name, Object obj, Attributes attrs) throws NamingException
bind
in interface DirContext
NamingException
DirContext.bind(java.lang.String,
java.lang.Object, javax.naming.directory.Attributes)
public DirContext createSubcontext(Name name, Attributes attrs) throws NamingException
createSubcontext
in interface DirContext
NamingException
DirContext.createSubcontext(javax.naming.Name,
javax.naming.directory.Attributes)
public DirContext createSubcontext(String name, Attributes attrs) throws NamingException
createSubcontext
in interface DirContext
NamingException
DirContext.createSubcontext(java.lang.String,
javax.naming.directory.Attributes)
public Attributes getAttributes(Name name) throws NamingException
getAttributes
in interface DirContext
NamingException
DirContext.getAttributes(javax.naming.Name)
public Attributes getAttributes(String name) throws NamingException
getAttributes
in interface DirContext
NamingException
DirContext.getAttributes(java.lang.String)
public Attributes getAttributes(Name name, String[] attrIds) throws NamingException
getAttributes
in interface DirContext
NamingException
DirContext.getAttributes(javax.naming.Name,
java.lang.String[])
public Attributes getAttributes(String name, String[] attrIds) throws NamingException
getAttributes
in interface DirContext
NamingException
DirContext.getAttributes(java.lang.String,
java.lang.String[])
public DirContext getSchema(Name name) throws NamingException
getSchema
in interface DirContext
NamingException
DirContext.getSchema(javax.naming.Name)
public DirContext getSchema(String name) throws NamingException
getSchema
in interface DirContext
NamingException
DirContext.getSchema(java.lang.String)
public DirContext getSchemaClassDefinition(Name name) throws NamingException
getSchemaClassDefinition
in interface DirContext
NamingException
DirContext.getSchemaClassDefinition(javax.naming.Name)
public DirContext getSchemaClassDefinition(String name) throws NamingException
getSchemaClassDefinition
in interface DirContext
NamingException
DirContext.getSchemaClassDefinition(java.lang.String)
public void modifyAttributes(Name name, ModificationItem[] mods) throws NamingException
modifyAttributes
in interface DirContext
NamingException
DirContext.modifyAttributes(javax.naming.Name,
javax.naming.directory.ModificationItem[])
public void modifyAttributes(String name, ModificationItem[] mods) throws NamingException
modifyAttributes
in interface DirContext
NamingException
DirContext.modifyAttributes(java.lang.String,
javax.naming.directory.ModificationItem[])
public void modifyAttributes(Name name, int modOp, Attributes attrs) throws NamingException
modifyAttributes
in interface DirContext
NamingException
DirContext.modifyAttributes(javax.naming.Name,
int, javax.naming.directory.Attributes)
public void modifyAttributes(String name, int modOp, Attributes attrs) throws NamingException
modifyAttributes
in interface DirContext
NamingException
DirContext.modifyAttributes(java.lang.String,
int, javax.naming.directory.Attributes)
public void rebind(Name name, Object obj, Attributes attrs) throws NamingException
rebind
in interface DirContext
NamingException
DirContext.rebind(javax.naming.Name,
java.lang.Object, javax.naming.directory.Attributes)
public void rebind(String name, Object obj, Attributes attrs) throws NamingException
rebind
in interface DirContext
NamingException
DirContext.rebind(java.lang.String,
java.lang.Object, javax.naming.directory.Attributes)
public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(javax.naming.Name,
javax.naming.directory.Attributes)
public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(java.lang.String,
javax.naming.directory.Attributes)
public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(javax.naming.Name,
javax.naming.directory.Attributes, java.lang.String[])
public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(java.lang.String,
javax.naming.directory.Attributes, java.lang.String[])
public NamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(javax.naming.Name,
java.lang.String, javax.naming.directory.SearchControls)
public NamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(java.lang.String,
java.lang.String, javax.naming.directory.SearchControls)
public NamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(javax.naming.Name,
java.lang.String, java.lang.Object[],
javax.naming.directory.SearchControls)
public NamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
search
in interface DirContext
NamingException
DirContext.search(java.lang.String,
java.lang.String, java.lang.Object[],
javax.naming.directory.SearchControls)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.