Package de.hsh.graja.starter
Class CmdlineStarter
- java.lang.Object
-
- de.hsh.graja.starter.CmdlineStarter
-
@Deprecated public class CmdlineStarter extends Object
Deprecated.This class starts Graja in a separate JVM. It expects three parameters on the command line.
- The first is either "xml" or "json"
-
The second is the path to the xml/json file containing serialized data representing a
FrontendGrajaSingleRequestTO
or aFrontendGrajaMultiRequestTO
object. - The third parameter denotes a path to a result file
that will be written by Graja on completion. The result file will contain xml/json
serialized data representing
a
GrajaSingleResultTO
orGrajaMultiResultTO
object.
The exit code of this programm will be 0, if we could write a result file (which could contain error messages as well as success messages), otherwise it is 1.
Error messages will get localized by the default locale.
-
-
Constructor Summary
Constructors Constructor Description CmdlineStarter()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
main(String[] args)
Deprecated.The main method expects three parameters: A format specification: xml or json The path to the request file The path to the generated result file
-