public abstract class RetryingLdapContext extends RetryingDirContext implements LdapContext
RetryingLdapContext retries the methods defined by javax.naming.ldap.LdapContext
 according to the specified schedule.DEFAULT_EXCEPTION_CLASSESCONTROL_FACTORIESADD_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 | 
|---|
| RetryingLdapContext(RetrySchedule schedule,
                   int maxRetries,
                   org.slf4j.Logger logger)Creates a new instance of RetryingLdapContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| ExtendedResponse | extendedOperation(ExtendedRequest request) | 
| Control[] | getConnectControls() | 
| Control[] | getRequestControls() | 
| Control[] | getResponseControls() | 
| LdapContext | newInstance(Control[] requestControls) | 
| void | reconnect(Control[] connCtls) | 
| void | setRequestControls(Control[] requestControls) | 
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, searchaddToEnvironment, 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, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, searchaddToEnvironment, 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, unbindnewDelegatepublic RetryingLdapContext(RetrySchedule schedule, int maxRetries, org.slf4j.Logger logger) throws NamingException
maxRetries - retryInterval - NamingExceptionpublic ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException
extendedOperation in interface LdapContextNamingExceptionLdapContext.extendedOperation(javax.naming.ldap.ExtendedRequest)public Control[] getConnectControls() throws NamingException
getConnectControls in interface LdapContextNamingExceptionLdapContext.getConnectControls()public Control[] getRequestControls() throws NamingException
getRequestControls in interface LdapContextNamingExceptionLdapContext.getRequestControls()public Control[] getResponseControls() throws NamingException
getResponseControls in interface LdapContextNamingExceptionLdapContext.getResponseControls()public LdapContext newInstance(Control[] requestControls) throws NamingException
newInstance in interface LdapContextNamingExceptionLdapContext.newInstance(javax.naming.ldap.Control[])public void reconnect(Control[] connCtls) throws NamingException
reconnect in interface LdapContextNamingExceptionLdapContext.reconnect(javax.naming.ldap.Control[])public void setRequestControls(Control[] requestControls) throws NamingException
setRequestControls in interface LdapContextNamingExceptionLdapContext.setRequestControls(javax.naming.ldap.Control[])Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.