OPENDJ-2017 Code cleanup
* Improve method name
| | |
| | | // once the new configuration framework migration will be done |
| | | final RootCfgClient root = getRootConfigurationClient(); |
| | | final BackendCfgClient backend = |
| | | root.createBackend(getSelectedBackendType().getOldConfigFrameworkBackend(), backendName, null); |
| | | root.createBackend(getSelectedBackendType().getLegacyConfigurationFrameworkBackend(), backendName, null); |
| | | backend.setEnabled(true); |
| | | backend.setBaseDN(Collections.singleton(DN.valueOf(newBaseDN))); |
| | | backend.setBackendId(backendName); |
| | |
| | | @SuppressWarnings("unchecked") |
| | | public org.opends.server.admin.ManagedObjectDefinition< |
| | | ? extends org.opends.server.admin.std.client.BackendCfgClient, |
| | | ? extends org.opends.server.admin.std.server.BackendCfg> getOldConfigFrameworkBackend() |
| | | ? extends org.opends.server.admin.std.server.BackendCfg> getLegacyConfigurationFrameworkBackend() |
| | | { |
| | | if (isLocalDBBackend()) |
| | | { |