Class IngestInternalMain
- java.lang.Object
-
- fr.gouv.vitam.ingest.internal.upload.rest.IngestInternalMain
-
public class IngestInternalMain extends java.lang.Object
Ingest Internal web server application
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_JETTY_SERVER_PORT
-
Constructor Summary
Constructors Constructor Description IngestInternalMain(java.lang.String configurationFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamStarter
getVitamStarter()
Get the Vitam Starterstatic void
main(java.lang.String[] args)
Main method to run the application (doing start and join)void
start()
Start applicationvoid
startAndJoin()
Start and join applicationvoid
stop()
Stop application
-
-
-
Field Detail
-
PARAMETER_JETTY_SERVER_PORT
public static final java.lang.String PARAMETER_JETTY_SERVER_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Main method to run the application (doing start and join)- Parameters:
args
- command line parameters- Throws:
java.lang.IllegalStateException
- if the Vitam server cannot be launched
-
start
public void start() throws VitamApplicationServerException
Start application- Throws:
VitamApplicationServerException
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerException
Start and join application- Throws:
VitamApplicationServerException
-
stop
public void stop() throws VitamApplicationServerException
Stop application- Throws:
VitamApplicationServerException
-
getVitamStarter
public VitamStarter getVitamStarter()
Get the Vitam Starter- Returns:
-
-