| | |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.quicksetup.ui.UIFactory; |
| | | import org.opends.quicksetup.util.Utils; |
| | | import org.opends.server.admin.ClassLoaderProvider; |
| | | import org.opends.server.api.AttributeSyntax; |
| | | import org.opends.server.api.ConfigHandler; |
| | | import org.opends.server.config.ConfigEntry; |
| | |
| | | } |
| | | } |
| | | |
| | | /** Initialize the legacy configuration framework. */ |
| | | public static void initializeLegacyConfigurationFramework() |
| | | { |
| | | try |
| | | { |
| | | final ClassLoaderProvider provider = ClassLoaderProvider.getInstance(); |
| | | if (!provider.isEnabled()) |
| | | { |
| | | provider.enable(); |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | final LocalizableMessage message = ERROR_CTRL_PANEL_INITIALIZE_CONFIG_OFFLINE.get(e.getLocalizedMessage()); |
| | | logger.error(message); |
| | | throw new RuntimeException(message.toString(), e); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |