Class DefaultOfferMain
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.rest.DefaultOfferMain
-
public class DefaultOfferMain extends java.lang.Object
DefaultOfferMain class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_JETTY_SERVER_PORT
-
Constructor Summary
Constructors Constructor Description DefaultOfferMain(java.lang.String configurationFile)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
main method, will start the servervoid
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, will start the server- Parameters:
args
-
-
start
public void start() throws VitamApplicationServerException
Start the server- Throws:
VitamApplicationServerException
- in case the server could not be started
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerException
Start and join the server- Throws:
VitamApplicationServerException
- in case the server could not be started
-
stop
public void stop() throws VitamApplicationServerException
Stop the server- Throws:
VitamApplicationServerException
- in case the server could not be stopped
-
-