org.rapla
Class MainServer

java.lang.Object
  extended by org.rapla.MainServer

Deprecated. The new client-server communicaton goes over the servlet api You can use import and export from the Main class This class is used to start rapla-server from the command-line.
 Usage :
 [-?|-c PATH_TO_CONFIG_FILE] [ACTION]
 Possible actions:
 start   : Starts the rapla-server (this is the default)
 stop    : Stops the rapla-server
 import  : Import the source into dest
           See importexport entry in raplaserver.xconf
 export  : Import the dest into source
           See importexport entry in raplaserver.xconf
 
You can also display the list with the -? argument.

public final class MainServer
extends Object


Field Summary
static String DEFAULT_CONFIG_NAME
          Deprecated. The default config filename is raplaserver.xconf
static String USAGE
          Deprecated.  
 
Method Summary
static void main(String[] args)
          Deprecated. This is the entry point for the server-application.
 void startExport()
          Deprecated. Read the data out of the dest-operator and write it into the source operator.
 void startImport()
          Deprecated. Read the data out of the source-operator and write it into the dest operator.
 void stopServerProcess(String configPath, boolean restart)
          Deprecated. stops the server that was started in a different process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_NAME

public static final String DEFAULT_CONFIG_NAME
Deprecated. 
The default config filename is raplaserver.xconf

See Also:
Constant Field Values

USAGE

public static final String USAGE
Deprecated. 
Method Detail

stopServerProcess

public void stopServerProcess(String configPath,
                              boolean restart)
                       throws Exception
Deprecated. 
stops the server that was started in a different process

Throws:
Exception

startExport

public void startExport()
                 throws Exception
Deprecated. 
Read the data out of the dest-operator and write it into the source operator. The necessary properties should be specified in the config-file.

Throws:
Exception

startImport

public void startImport()
                 throws Exception
Deprecated. 
Read the data out of the source-operator and write it into the dest operator. The necessary properties should be specified in the config-file.

Throws:
Exception

main

public static void main(String[] args)
Deprecated. 
This is the entry point for the server-application. For a complete list of the arguments see the description of this class.



Copyright © 2000-2006 Rapla Team. All Rights Reseserved.