Uses of Interface
org.forgerock.opendj.ldap.Connection
Package
Description
This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
-
Uses of Connection in org.forgerock.openam.ldap
Modifier and TypeMethodDescriptionstatic String
LDAPUtils.getDBName
(String suffix, Connection ld) Gets the DB name. -
Uses of Connection in org.forgerock.opendj.ldap
Modifier and TypeClassDescriptionclass
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily implemented.Modifier and TypeClassDescriptionclass
An abstract connection whose synchronous methods are implemented in terms of asynchronous methods.class
This class provides a skeletal implementation of theConnection
interface, to minimize the effort required to implement this interface.class
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily implemented.class
An abstract connection whose asynchronous methods are implemented in terms of synchronous methods.Modifier and TypeFieldDescriptionprotected final C
AbstractConnectionWrapper.connection
The wrapped connection.Modifier and TypeMethodDescriptionConnectionFactory.getConnection()
Returns a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnection()
static Connection
Connections.newInternalConnection
(io.reactivex.rxjava3.functions.BiFunction<Integer, Request, io.reactivex.rxjava3.core.Flowable<Response>> requestHandler) Creates a newConnection
which will route requests to the providedrequestHandler
.static Connection
Connections.uncloseable
(Connection connection) Returns an uncloseable view of the provided connection.Modifier and TypeMethodDescriptionConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the Directory Server associated with this connection factory.LdapConnectionFactory.getConnectionAsync()
Modifier and TypeMethodDescriptionstatic RootDse
RootDse.readRootDse
(Connection connection) Reads the Root DSE from the Directory Server using the provided connection.static LdapPromise<RootDse>
RootDse.readRootDseAsync
(Connection connection) Asynchronously reads the Root DSE from the Directory Server using the provided connection.static Connection
Connections.uncloseable
(Connection connection) Returns an uncloseable view of the provided connection. -
Uses of Connection in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionSchemaBuilder.addSchema
(Connection connection, Dn name, boolean overwrite) Reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.SchemaBuilder.addSchemaAsync
(Connection connection, Dn name, boolean overwrite) Asynchronously reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.SchemaBuilder.addSchemaForEntry
(Connection connection, Dn name, boolean overwrite) Reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.SchemaBuilder.addSchemaForEntryAsync
(Connection connection, Dn name, boolean overwrite) Asynchronously reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.static Schema
Schema.readSchema
(Connection connection, Dn name) Reads the schema contained in the named subschema sub-entry.static LdapPromise<Schema>
Schema.readSchemaAsync
(Connection connection, Dn name) Asynchronously reads the schema contained in the named subschema sub-entry.static Schema
Schema.readSchemaForEntry
(Connection connection, Dn name) Reads the schema contained in the subschema sub-entry which applies to the named entry.static LdapPromise<Schema>
Schema.readSchemaForEntryAsync
(Connection connection, Dn name) Asynchronously reads the schema contained in the subschema sub-entry which applies to the named entry. -
Uses of Connection in org.forgerock.opendj.ldif
ModifierConstructorDescriptionConnectionChangeRecordWriter
(Connection connection) Creates a new connection change record writer whose destination is the provided connection.ConnectionEntryReader
(Connection connection, SearchRequest searchRequest) Creates a new connection entry reader whose destination is the provided connection using an unboundedLinkedBlockingQueue
.ConnectionEntryReader
(Connection connection, SearchRequest searchRequest, BlockingQueue<Response> entries) Creates a new connection entry reader whose destination is the provided connection.ConnectionEntryWriter
(Connection connection) Creates a new connection entry writer whose destination is the provided connection.