Class AccessExternalMain
java.lang.Object
fr.gouv.vitam.access.external.rest.AccessExternalMain
Access External web application
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAccessExternalMain
(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 VitamStarter
Get the serverstatic void
Main method to run the application (doing start and join)void
start()
Start the servervoid
Start and join the servervoid
stop()
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
-