From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 :    Migrate I18n and logging support to i18n framework and SLF4J

---
 opendj3-server-dev/src/server/org/opends/server/api/LogPublisher.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/api/LogPublisher.java b/opendj3-server-dev/src/server/org/opends/server/api/LogPublisher.java
index d018e9a..8623965 100644
--- a/opendj3-server-dev/src/server/org/opends/server/api/LogPublisher.java
+++ b/opendj3-server-dev/src/server/org/opends/server/api/LogPublisher.java
@@ -22,16 +22,17 @@
  *
  *
  *      Copyright 2008-2009 Sun Microsystems, Inc.
- *      Portions copyright 2011-2013 ForgeRock AS.
+ *      Portions Copyright 2011-2014 ForgeRock AS.
  */
 package org.opends.server.api;
 
 import java.io.Closeable;
 import java.util.List;
 
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 import org.opends.server.admin.std.server.LogPublisherCfg;
 import org.opends.server.config.ConfigException;
+import org.opends.server.core.ServerContext;
 import org.opends.server.types.DN;
 import org.opends.server.types.InitializationException;
 
@@ -58,6 +59,8 @@
    * @param config
    *          The publisher configuration that contains the information to use
    *          to initialize this publisher.
+   * @param serverContext
+   *          The server context.
    * @throws ConfigException
    *           If an unrecoverable problem arises in the process of performing
    *           the initialization as a result of the server configuration.
@@ -65,7 +68,7 @@
    *           If a problem occurs during initialization that is not related to
    *           the server configuration.
    */
-  void initializeLogPublisher(T config) throws ConfigException,
+  void initializeLogPublisher(T config, ServerContext serverContext) throws ConfigException,
       InitializationException;
 
 
@@ -90,7 +93,7 @@
    *         log publisher, or {@code false} if not.
    */
   boolean isConfigurationAcceptable(T configuration,
-      List<Message> unacceptableReasons);
+      List<LocalizableMessage> unacceptableReasons);
 
 
 

--
Gitblit v1.10.0