public class DefaultOfferMain extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_JETTY_SERVER_PORT |
Constructor and Description |
---|
DefaultOfferMain(String configurationFile)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
main method, will start the server
|
void |
start()
Start the server
|
void |
startAndJoin()
Start and join the server
|
void |
stop()
Stop the server
|
public static final String PARAMETER_JETTY_SERVER_PORT
public DefaultOfferMain(String configurationFile)
configurationFile
- public static void main(String[] args)
args
- public void start() throws VitamApplicationServerException
VitamApplicationServerException
- in case the server could not be startedpublic void startAndJoin() throws VitamApplicationServerException
VitamApplicationServerException
- in case the server could not be startedpublic void stop() throws VitamApplicationServerException
VitamApplicationServerException
- in case the server could not be stoppedCopyright © 2018 Vitam. All rights reserved.