Class AccessExternalMain
java.lang.Object
fr.gouv.vitam.access.external.rest.AccessExternalMain
Access External web application
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccessExternalMain(String configurationFile) Constructor with configuration file nameAccessExternalMain(String configurationFile, Class<? extends javax.ws.rs.core.Application> testBusinessApplication, Class<? extends javax.ws.rs.core.Application> testAdminApplication) This constructor is used for test To customize BusinessApplication and AdminApplication -
Method Summary
Modifier and TypeMethodDescriptionfinal VitamStarterGet the serverstatic voidMain method to run the application (doing start and join)voidstart()Start the servervoidStart and join the servervoidstop()Stop the server
-
Field Details
-
PARAMETER_JETTY_SERVER_PORT
- See Also:
-
-
Constructor Details
-
AccessExternalMain
Constructor with configuration file name- Parameters:
configurationFile-
-
AccessExternalMain
public AccessExternalMain(String configurationFile, Class<? extends javax.ws.rs.core.Application> testBusinessApplication, Class<? extends javax.ws.rs.core.Application> testAdminApplication) This constructor is used for test To customize BusinessApplication and AdminApplication- Parameters:
configurationFile-testBusinessApplication-testAdminApplication-
-
-
Method Details
-
main
Main method to run the application (doing start and join)- Parameters:
args-
-
start
Start the server- Throws:
VitamApplicationServerException
-
startAndJoin
Start and join the server- Throws:
VitamApplicationServerException
-
stop
Stop the server- Throws:
VitamApplicationServerException
-
getVitamServer
Get the server- Returns:
- the vitam server
-