| | |
| | | |
| | | |
| | | import org.opends.server.admin.LDAPProfile; |
| | | import org.opends.server.admin.client.ManagedObject; |
| | | import org.opends.server.admin.client.ManagementContext; |
| | | import org.opends.server.admin.std.client.RootCfgClient; |
| | | import org.opends.server.admin.client.spi.Driver; |
| | | import org.opends.server.util.Validator; |
| | | |
| | | |
| | |
| | | // Private constructor. |
| | | private LDAPManagementContext(LDAPConnection connection, |
| | | LDAPProfile profile) { |
| | | this.driver = new LDAPDriver(connection, profile); |
| | | this.driver = new LDAPDriver(this, connection, profile); |
| | | } |
| | | |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ManagedObject<RootCfgClient> getRootConfigurationManagedObject() { |
| | | return LDAPManagedObject.getRootManagedObject(driver); |
| | | @Override |
| | | protected Driver getDriver() { |
| | | return driver; |
| | | } |
| | | } |