Package org.opends.server.protocols.http
Class LDAPContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.opends.server.protocols.http.LDAPContext
-
- All Implemented Interfaces:
org.forgerock.services.context.Context
public final class LDAPContext extends org.forgerock.services.context.AbstractContext
Context provided by a Directory Server. It contains a reference to aLDAPContext.InternalLdapClient
which can be used to perform direct LDAP operation on this Directory Server without the network overhead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LDAPContext.InternalLdapClient
An internal connection factory providing direct connection to this Directory Server without the network overhead.
-
Constructor Summary
Constructors Constructor Description LDAPContext(org.forgerock.services.context.Context parent, LDAPContext.InternalLdapClient internalConnectionFactory)
Create a new LDAPContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDAPContext.InternalLdapClient
getInternalLdapClient()
Get theLDAPContext.InternalLdapClient
attached to this context.
-
-
-
Constructor Detail
-
LDAPContext
public LDAPContext(org.forgerock.services.context.Context parent, LDAPContext.InternalLdapClient internalConnectionFactory)
Create a new LDAPContext.- Parameters:
parent
- The parent context.internalConnectionFactory
- Internal connection factory of this LDAP server.
-
-
Method Detail
-
getInternalLdapClient
public LDAPContext.InternalLdapClient getInternalLdapClient()
Get theLDAPContext.InternalLdapClient
attached to this context.- Returns:
- The
LDAPContext.InternalLdapClient
attached to this context.
-
-