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_CLASSES
CONTROL_FACTORIES
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 |
---|
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, search
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
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, search
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 RetryingLdapContext(RetrySchedule schedule, int maxRetries, org.slf4j.Logger logger) throws NamingException
maxRetries
- retryInterval
- NamingException
public ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException
extendedOperation
in interface LdapContext
NamingException
LdapContext.extendedOperation(javax.naming.ldap.ExtendedRequest)
public Control[] getConnectControls() throws NamingException
getConnectControls
in interface LdapContext
NamingException
LdapContext.getConnectControls()
public Control[] getRequestControls() throws NamingException
getRequestControls
in interface LdapContext
NamingException
LdapContext.getRequestControls()
public Control[] getResponseControls() throws NamingException
getResponseControls
in interface LdapContext
NamingException
LdapContext.getResponseControls()
public LdapContext newInstance(Control[] requestControls) throws NamingException
newInstance
in interface LdapContext
NamingException
LdapContext.newInstance(javax.naming.ldap.Control[])
public void reconnect(Control[] connCtls) throws NamingException
reconnect
in interface LdapContext
NamingException
LdapContext.reconnect(javax.naming.ldap.Control[])
public void setRequestControls(Control[] requestControls) throws NamingException
setRequestControls
in interface LdapContext
NamingException
LdapContext.setRequestControls(javax.naming.ldap.Control[])
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.