Package org.forgerock.opendj.examples
Class StartStopServer
- java.lang.Object
-
- org.forgerock.opendj.examples.StartStopServer
-
public final class StartStopServer extends Object
Start and stop a server that is already installed.
-
-
Method Detail
-
main
public static void main(String[] args) throws EmbeddedDirectoryServerException
Main method.The server is started, and this program waits for a Control-C on the terminal to stop the server.
- Parameters:
args- The command line arguments: serverRootDir- Throws:
EmbeddedDirectoryServerException- If an error occurs
-
-