Package fr.gouv.vitam.metadata.rest
Class MetadataMain
- java.lang.Object
-
- fr.gouv.vitam.metadata.rest.MetadataMain
-
public class MetadataMain extends java.lang.Object
MetadataMain class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_JETTY_SERVER_PORT
the port of metadata server
-
Constructor Summary
Constructors Constructor Description MetadataMain(java.lang.String configurationFile)
Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
The main methodvoid
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
the port of metadata server- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
The main method- 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
-
-