Uses of Interface
org.apache.directory.ldap.client.api.LdapConnection
Packages that use LdapConnection
Package
Description
-
Uses of LdapConnection in org.apache.directory.ldap.client.api
Subinterfaces of LdapConnection in org.apache.directory.ldap.client.apiModifier and TypeInterfaceDescriptioninterfaceRoot interface for all asynchronous LDAP connections.Classes in org.apache.directory.ldap.client.api that implement LdapConnectionModifier and TypeClassDescriptionclassAn abstract LdapConnection class gathering the common behavior of LdapConnection concrete classes.classProvides a base implementation of aWrapperforLdapConnectionobjects.classThis class is the base for every operations sent or received to and from a LDAP server.final classA class used to monitor the use of a LdapConnectionclassA wrapper around an LdapConnection that returns the connection to the pool when closed.Subclasses with type arguments of type LdapConnection in org.apache.directory.ldap.client.apiModifier and TypeClassDescriptionclassA pool implementation for LdapConnection objects.Classes in org.apache.directory.ldap.client.api that implement interfaces with type arguments of type LdapConnectionModifier and TypeClassDescriptionclassAn abstract class implementing the PoolableObjectFactory, for LdapConnections.classProvides a base implementation of aWrapperforLdapConnectionobjects.Fields in org.apache.directory.ldap.client.api declared as LdapConnectionModifier and TypeFieldDescriptionprotected LdapConnectionLdapConnectionWrapper.connectionThe wrapped connectionMethods in org.apache.directory.ldap.client.api that return LdapConnectionModifier and TypeMethodDescriptionDefaultLdapConnectionFactory.bindConnection(LdapConnection connection) Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnectionFactory.bindConnection(LdapConnection connection) Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.DefaultLdapConnectionFactory.configureConnection(LdapConnection connection) Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.LdapConnectionFactory.configureConnection(LdapConnection connection) Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.protected LdapConnectionDefaultSchemaLoader.getConnection()Get the LdapConnecgion instanceLdapConnectionPool.getConnection()Gives a LdapConnection fetched from the pool.DefaultLdapConnectionFactory.newLdapConnection()Returns a newly created, configured, and authenticated connection.LdapConnectionFactory.newLdapConnection()Returns a newly created, configured, and authenticated connection.DefaultLdapConnectionFactory.newUnboundLdapConnection()Returns a newly created connection, that has not been bound (bind) that otherwise respects LdapConnectionConfig supplied to the constructor.LdapConnectionFactory.newUnboundLdapConnection()Returns a newly created connection, that has not been bound (bind) that otherwise respects LdapConnectionConfig supplied to the constructor.LdapConnectionWrapper.wrapped()Returns the wrapped object.Methods in org.apache.directory.ldap.client.api that return types with arguments of type LdapConnectionModifier and TypeMethodDescriptionorg.apache.commons.pool2.PooledObject<LdapConnection> AbstractPoolableLdapConnectionFactory.makeObject()Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.org.apache.commons.pool2.PooledObject<LdapConnection> ValidatingPoolableLdapConnectionFactory.makeObject()Specifically, we are creating a new connection based on the LdapConnection Factory we used to create this pool of connections.Methods in org.apache.directory.ldap.client.api with parameters of type LdapConnectionModifier and TypeMethodDescriptionDefaultLdapConnectionFactory.bindConnection(LdapConnection connection) Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.LdapConnectionFactory.bindConnection(LdapConnection connection) Issues a bind request on the supplied connection using the name and credentials from the LdapConnectionConfg supplied to the constructor.DefaultLdapConnectionFactory.configureConnection(LdapConnection connection) Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.LdapConnectionFactory.configureConnection(LdapConnection connection) Applies the following configuration settings from the LdapConnectionConfig to the supplied connection: timeOut binaryAttributeDetector This method is called by newLdapConnection, so there is no need to call this on a newly created connection.voidLdapConnectionPool.releaseConnection(LdapConnection connection) Places the given LdapConnection back in the pool.protected voidDefaultSchemaLoader.setConnection(LdapConnection connection) Set the LdapConnection to usebooleanDefaultLdapConnectionValidator.validate(LdapConnection connection) Returns true ifconnectionis connected, and authenticated.booleanLdapConnectionValidator.validate(LdapConnection ldapConnection) Return true if the connection is still valid.booleanLookupLdapConnectionValidator.validate(LdapConnection connection) Returns true ifconnectionis connected, authenticated, and a lookup on the rootDSE returns a non-null response.Method parameters in org.apache.directory.ldap.client.api with type arguments of type LdapConnectionModifier and TypeMethodDescriptionvoidAbstractPoolableLdapConnectionFactory.activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection) There is nothing to do to activate a connection.voidValidatingPoolableLdapConnectionFactory.activateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject) There is nothing to do to activate a connection.voidAbstractPoolableLdapConnectionFactory.destroyObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection) Destroying a connection will unbind it which will result on a shutdown of teh underlying protocol.voidAbstractPoolableLdapConnectionFactory.passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection) We don't do anything with the connection.voidValidatingPoolableLdapConnectionFactory.passivateObject(org.apache.commons.pool2.PooledObject<LdapConnection> pooledObject) We don't do anything with the connection.booleanAbstractPoolableLdapConnectionFactory.validateObject(org.apache.commons.pool2.PooledObject<LdapConnection> connection) Validating a connection is done by checking the connection status.Constructors in org.apache.directory.ldap.client.api with parameters of type LdapConnectionModifierConstructorDescriptionDefaultSchemaLoader(LdapConnection connection) Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, boolean relaxed) Creates a new instance of DefaultSchemaLoader.DefaultSchemaLoader(LdapConnection connection, org.apache.directory.api.ldap.model.name.Dn subschemaSubentryDn) Creates a new instance of NetworkSchemaLoader.protectedLdapConnectionWrapper(LdapConnection connection) Creates a new LdapConnectionWrapper instanceConstructor parameters in org.apache.directory.ldap.client.api with type arguments of type LdapConnectionModifierConstructorDescriptionLdapConnectionPool(org.apache.commons.pool2.PooledObjectFactory<LdapConnection> factory) Instantiates a new LDAP connection pool.LdapConnectionPool(org.apache.commons.pool2.PooledObjectFactory<LdapConnection> factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) Instantiates a new LDAP connection pool. -
Uses of LdapConnection in org.apache.directory.ldap.client.api.future
Fields in org.apache.directory.ldap.client.api.future declared as LdapConnectionModifier and TypeFieldDescriptionprotected LdapConnectionMultipleResponseFuture.connectionThe connection used by the requestprotected LdapConnectionUniqueResponseFuture.connectionThe connection used by the requestConstructors in org.apache.directory.ldap.client.api.future with parameters of type LdapConnectionModifierConstructorDescriptionAddFuture(LdapConnection connection, int messageId) Creates a new instance of AddFuture.BindFuture(LdapConnection connection, int messageId) Creates a new instance of BindFuture.CompareFuture(LdapConnection connection, int messageId) Creates a new instance of CompareFuture.DeleteFuture(LdapConnection connection, int messageId) Creates a new instance of DeleteFuture.ExtendedFuture(LdapConnection connection, int messageId) Creates a new instance of ExtendedFuture.ModifyDnFuture(LdapConnection connection, int messageId) Creates a new instance of ModifyDnFuture.ModifyFuture(LdapConnection connection, int messageId) Creates a new instance of ModifyFuture.MultipleResponseFuture(LdapConnection connection, int messageId) Creates a new instance of ResponseFuture.SearchFuture(LdapConnection connection, int messageId) Creates a new instance of SearchFuture.UniqueResponseFuture(LdapConnection connection, int messageId) Creates a new instance of UniqueResponseFuture. -
Uses of LdapConnection in org.apache.directory.ldap.client.template
Methods in org.apache.directory.ldap.client.template with parameters of type LdapConnectionModifier and TypeMethodDescriptionConnectionCallback.doWithConnection(LdapConnection connection) Provides a managed connection to the implementation of this method.