public final class LDAPManagementContext extends DriverBasedManagementContext
| Modifier and Type | Method and Description |
|---|---|
protected Driver |
getDriver()
Gets the driver associated with this management context.
|
static ManagementContext |
newLDIFManagementContext(File ldifFile,
LDAPProfile profile)
Returns a LDIF management context on the provided LDIF file.
|
static ManagementContext |
newManagementContext(org.forgerock.opendj.ldap.Connection connection,
LDAPProfile profile)
Create a new LDAP management context using the provided LDAP connection.
|
close, deleteManagedObject, deleteManagedObject, deleteManagedObject, getManagedObject, getPropertyValue, getPropertyValues, getRootConfiguration, getRootConfigurationManagedObject, listManagedObjects, listManagedObjects, listManagedObjects, managedObjectExistspublic static ManagementContext newManagementContext(org.forgerock.opendj.ldap.Connection connection, LDAPProfile profile)
connection - The LDAP connection.profile - The LDAP profile.public static ManagementContext newLDIFManagementContext(File ldifFile, LDAPProfile profile) throws IOException
ldifFile - The LDIF file to manageprofile - The LDAP profileIOException - If problems occurs while reading the file.protected Driver getDriver()
getDriver in class DriverBasedManagementContextCopyright © 2011-2015 ForgeRock AS. All Rights Reserved.