Package fr.gouv.vitam.metadata.rest
Class MetadataMain
- java.lang.Object
-
- fr.gouv.vitam.metadata.rest.MetadataMain
-
public class MetadataMain extends java.lang.ObjectMetadataMain class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_JETTY_SERVER_PORTthe 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 voidmain(java.lang.String[] args)The main methodvoidstart()Start the servervoidstartAndJoin()Start and join the servervoidstop()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 VitamApplicationServerExceptionStart the server- Throws:
VitamApplicationServerException
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerExceptionStart and join the server- Throws:
VitamApplicationServerException
-
stop
public void stop() throws VitamApplicationServerExceptionStop the server- Throws:
VitamApplicationServerException
-
-