Package de.hsh.graja.starter.apcli
Class WithinJVMStarter
java.lang.Object
de.hsh.graja.starter.apcli.WithinJVMStarter
This class starts Graja in a separate JVM.
All configuration is expected in the
RequestTO
parameter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultTO
startGraja
(FrontendRequestTO request) This method starts the Graja frontend from a running JVM.static ResultTO
startGraja
(FrontendRequestTO request, String fileFormat) This method starts the Graja frontend from a running JVM.
-
Constructor Details
-
WithinJVMStarter
public WithinJVMStarter()
-
-
Method Details
-
startGraja
This method starts the Graja frontend from a running JVM. It expects a request and produces a result.- Parameters:
request
- The request object (either single or multi)- Returns:
- the overall result (either single or multi).
-
startGraja
This method starts the Graja frontend from a running JVM. It expects a request and produces a result.- Parameters:
request
- The request object (either single or multi)fileFormat
- May be json or xml- Returns:
- the overall result (either single or multi).
-