From 313c7ce226afaa79e811d6fa0f5ad8b8a59f0fd5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 13 Aug 2007 14:48:19 +0000
Subject: [PATCH] Provide a new org.opends.server.util.EmbeddedUtils class that can be used to simplify the process of running the server as an embedded application. There are methods to start, stop, and restart the server, as well as to determine whether the server is running. Also, provide a new org.opends.server.types.DirectoryEnvironmentConfig class that can be used to define a number of "environment" properties that provide information about the way in which the server should run.
---
opends/src/server/org/opends/server/util/ServerConstants.java | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 796a313..e7b38fa 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -2431,6 +2431,25 @@
/**
+ * The name of the system property that can be used to specify the
+ * fully-qualified name of theclass that provides the Director Server config
+ * handler implementation.
+ */
+ public static final String PROPERTY_CONFIG_CLASS =
+ "org.opends.server.ConfigClass";
+
+
+
+ /**
+ * The name of the system property that can be used to specify the path to the
+ * configuration file that should be used to initialize the config handler.
+ */
+ public static final String PROPERTY_CONFIG_FILE =
+ "org.opends.server.ConfigFile";
+
+
+
+ /**
* The name of the system property that can be used to disable any connection
* handler that may be enabled in the server configuration. This may be used
* to start the server in a mode where it will not accept any external
--
Gitblit v1.10.0