From 54fbe518d8e0f66c95a8825209d6a176dcb323a1 Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Fri, 20 Mar 2015 14:44:40 +0000
Subject: [PATCH] Preparatory commit for OPENDJ-1727, propagating a serverContext to all backends and storages to access informations about the current running environment. Changes in API only.
---
opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java
index 77fd18e..3913c1b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java
@@ -76,6 +76,7 @@
import org.opends.server.core.ModifyDNOperation;
import org.opends.server.core.ModifyOperation;
import org.opends.server.core.SearchOperation;
+import org.opends.server.core.ServerContext;
import org.opends.server.schema.GeneralizedTimeSyntax;
import org.opends.server.tools.LDIFModify;
import org.opends.server.types.*;
@@ -794,7 +795,7 @@
/** {@inheritDoc} */
@Override
- public void configureBackend(ConfigFileHandlerBackendCfg cfg)
+ public void configureBackend(ConfigFileHandlerBackendCfg cfg, ServerContext serverContext)
throws ConfigException
{
// No action is required.
@@ -802,8 +803,7 @@
/** {@inheritDoc} */
@Override
- public void initializeBackend()
- throws ConfigException, InitializationException
+ public void initializeBackend() throws ConfigException, InitializationException
{
// No action is required, since all initialization was performed in the
// initializeConfigHandler method.
--
Gitblit v1.10.0