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

Nicolas Capponi
07.10.2014 78b4564207562bc0f2ee5ad7dc3fef2174c8e568
opendj3-server-dev/src/server/org/opends/server/workflowelement/WorkflowElementConfigManager.java
@@ -43,6 +43,7 @@
import org.opends.server.admin.std.server.WorkflowElementCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.core.ServerContext;
import org.opends.server.types.ConfigChangeResult;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.InitializationException;
@@ -64,15 +65,19 @@
{
  private final ServerContext serverContext;
  /**
   * Creates a new instance of this workflow config manager.
   *
   * @param serverContext
   *            The server context.
   */
  public WorkflowElementConfigManager()
  public WorkflowElementConfigManager(ServerContext serverContext)
  {
    this.serverContext = serverContext;
  }
  /**
   * Initializes all workflow elements currently defined in the Directory
   * Server configuration.  This should only be called at Directory Server