Class InterceptorMain
- java.lang.Object
-
- fr.gouv.vitam.elastic.kibana.interceptor.rest.InterceptorMain
-
public class InterceptorMain extends java.lang.Object
Interceptor web application
-
-
Constructor Summary
Constructors Constructor Description InterceptorMain(java.lang.String configurationFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamStarter
getVitamServer()
Get the serverstatic void
main(java.lang.String[] args)
Main method to run the application (doing start and join)void
start()
Start the servervoid
startAndJoin()
Start and join the servervoid
stop()
Stop the server
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Main method to run the application (doing start and join)- 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
-
getVitamServer
public final VitamStarter getVitamServer()
Get the server- Returns:
- the vitam server
-
-