public class CTSDataLayer extends Object
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.Connection |
getConnection()
Obtain a Connection from the Shared Pool
|
static CTSDataLayer |
getSharedSMDataLayerAccessor()
Allow restricted Access by specific Class Caller without using
Java Security.
|
void |
releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection)
Release an obtained Connection back to the pool.
|
void |
releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection,
Exception lastLDAPException)
Release an obtained Connection back to the pool, with a
specified Last LDAP Stack Exception for clean-up.
|
void |
releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection,
int ldapErrorCode)
Release an obtained Connection back to the pool, with a
specified return code for clean-up.
|
public static CTSDataLayer getSharedSMDataLayerAccessor()
public org.forgerock.opendj.ldap.Connection getConnection()
public void releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection)
ldapConnection
- public void releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection, int ldapErrorCode)
ldapConnection
- ldapErrorCode
- public void releaseConnection(org.forgerock.opendj.ldap.Connection ldapConnection, Exception lastLDAPException)
ldapConnection
- lastLDAPException
- - Last up Stream LDAP Exception, can be null if no issues arose
with the connection or operations.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.