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/backends/TrustStoreBackend.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/TrustStoreBackend.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/TrustStoreBackend.java
index 9803374..199bf59 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/TrustStoreBackend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/TrustStoreBackend.java
@@ -77,6 +77,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.types.*;
 import org.opends.server.util.CertificateManager;
 import org.opends.server.util.SetupUtils;
@@ -132,7 +133,7 @@
 
   /** {@inheritDoc} */
   @Override
-  public void configureBackend(TrustStoreBackendCfg config) throws ConfigException
+  public void configureBackend(TrustStoreBackendCfg config, ServerContext serverContext) throws ConfigException
   {
     Reject.ifNull(config);
     configuration = config;
@@ -140,8 +141,7 @@
 
   /** {@inheritDoc} */
   @Override
-  public void initializeBackend()
-         throws ConfigException, InitializationException
+  public void initializeBackend() throws ConfigException, InitializationException
   {
     DN configEntryDN = configuration.dn();
 

--
Gitblit v1.10.0