mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
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);