Package fr.gouv.vitam.logbook.rest
Class LogbookMain
- java.lang.Object
-
- fr.gouv.vitam.logbook.rest.LogbookMain
-
public class LogbookMain extends java.lang.Object
Logbook web application
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_JETTY_SERVER_PORT
-
Constructor Summary
Constructors Constructor Description LogbookMain(java.lang.String configurationFile)
Constructor with a configuration file
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Main method to run the application (doing start and join)void
start()
Start the servervoid
startAndJoin()
Start and join the servervoid
stop()
Stop the server
-
-
-
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
-
-
start
public void start() throws VitamApplicationServerException
Start the server- Throws:
VitamApplicationServerException
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerException
Start and join the server- Throws:
VitamApplicationServerException
-
stop
public void stop() throws VitamApplicationServerException
Stop the server- Throws:
VitamApplicationServerException
-
-