public class WorkerMain extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_JETTY_SERVER_PORT |
Constructor and Description |
---|
WorkerMain(String configurationFile) |
Modifier and Type | Method and Description |
---|---|
VitamStarter |
getVitamStarter()
Get the Vitam Starter
|
static void |
main(String[] args)
Main method to run the application (doing start and join)
|
void |
start()
Start application
|
void |
startAndJoin()
Start and join application
|
void |
stop()
Stop application
|
public static final String PARAMETER_JETTY_SERVER_PORT
public WorkerMain(String configurationFile) throws PluginException, IOException
PluginException
IOException
public static void main(String[] args)
args
- command line parametersIllegalStateException
- if the Vitam server cannot be launchedpublic void start() throws VitamApplicationServerException
VitamApplicationServerException
public void startAndJoin() throws VitamApplicationServerException
VitamApplicationServerException
public void stop() throws VitamApplicationServerException
VitamApplicationServerException
public VitamStarter getVitamStarter()
Copyright © 2018 Vitam. All rights reserved.