public class IngestExternalMain extends Object
Constructor and Description |
---|
IngestExternalMain(String configurationFile)
Ingest External Main constructor
|
IngestExternalMain(String configurationFile,
Class<? extends javax.ws.rs.core.Application> testBusinessApplication,
Class<? extends javax.ws.rs.core.Application> testAdminApplication)
This constructor is used for test
|
Modifier and Type | Method and Description |
---|---|
VitamStarter |
getVitamStarter()
Get the Vitam Starter
|
static void |
main(String[] args)
Main method to run the application (doing start and join)
|
void |
start()
Start application
|
void |
startAndJoin()
Start and join application
|
void |
stop()
Stop application
|
public IngestExternalMain(String configurationFile)
configurationFile
- public IngestExternalMain(String configurationFile, Class<? extends javax.ws.rs.core.Application> testBusinessApplication, Class<? extends javax.ws.rs.core.Application> testAdminApplication)
configurationFile
- testBusinessApplication
- Custom BusinessApplicationtestAdminApplication
- Custom AdminApplicationpublic 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 VitamStarter getVitamStarter()
Copyright © 2018 Vitam. All rights reserved.