Class IngestExternalMain
- java.lang.Object
-
- fr.gouv.vitam.ingest.external.rest.IngestExternalMain
-
public class IngestExternalMain extends java.lang.ObjectIngest External web application
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_JETTY_SERVER_PORT
-
Constructor Summary
Constructors Constructor Description IngestExternalMain(java.lang.String configurationFile)Ingest External Main constructorIngestExternalMain(java.lang.String configurationFile, java.lang.Class<? extends javax.ws.rs.core.Application> testBusinessApplication, java.lang.Class<? extends javax.ws.rs.core.Application> testAdminApplication)This constructor is used for test
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamStartergetVitamStarter()Get the Vitam Starterstatic voidmain(java.lang.String[] args)Main method to run the application (doing start and join)voidstart()Start applicationvoidstartAndJoin()Start and join applicationvoidstop()Stop application
-
-
-
Field Detail
-
PARAMETER_JETTY_SERVER_PORT
public static final java.lang.String PARAMETER_JETTY_SERVER_PORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IngestExternalMain
public IngestExternalMain(java.lang.String configurationFile)
Ingest External Main constructor- Parameters:
configurationFile-
-
IngestExternalMain
public IngestExternalMain(java.lang.String configurationFile, java.lang.Class<? extends javax.ws.rs.core.Application> testBusinessApplication, java.lang.Class<? extends javax.ws.rs.core.Application> testAdminApplication)This constructor is used for test- Parameters:
configurationFile-testBusinessApplication- Custom BusinessApplicationtestAdminApplication- Custom AdminApplication
-
-
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 VitamApplicationServerExceptionStart application- Throws:
VitamApplicationServerException
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerExceptionStart and join application- Throws:
VitamApplicationServerException
-
stop
public void stop() throws VitamApplicationServerExceptionStop application- Throws:
VitamApplicationServerException
-
getVitamStarter
public VitamStarter getVitamStarter()
Get the Vitam Starter- Returns:
-
-