public class AccessExternalMain extends Object
Constructor and Description |
---|
AccessExternalMain(String configurationFile)
Constructor with configuration file name
|
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
|
Modifier and Type | Method and Description |
---|---|
VitamStarter |
getVitamServer()
Get the server
|
static void |
main(String[] args)
Main method to run the application (doing start and join)
|
void |
start()
Start the server
|
void |
startAndJoin()
Start and join the server
|
void |
stop()
Stop the server
|
public AccessExternalMain(String configurationFile)
configurationFile
- public AccessExternalMain(String configurationFile, Class<? extends javax.ws.rs.core.Application> testBusinessApplication, Class<? extends javax.ws.rs.core.Application> testAdminApplication)
configurationFile
- testBusinessApplication
- testAdminApplication
- public static void main(String[] args)
args
- public void start() throws VitamApplicationServerException
VitamApplicationServerException
public void startAndJoin() throws VitamApplicationServerException
VitamApplicationServerException
public void stop() throws VitamApplicationServerException
VitamApplicationServerException
public final VitamStarter getVitamServer()
Copyright © 2018 Vitam. All rights reserved.