Package fr.gouv.vitam.ihmdemo.appserver
Class IhmDemoMain
- java.lang.Object
-
- fr.gouv.vitam.ihmdemo.appserver.IhmDemoMain
-
public class IhmDemoMain extends java.lang.Object
Ihm-demo web application
-
-
Constructor Summary
Constructors Constructor Description IhmDemoMain(java.lang.String configurationFile)
Constructor with configuration file nameIhmDemoMain(java.lang.String configurationFile, java.lang.Class<? extends javax.ws.rs.core.Application> testBusinessApplication, java.lang.Class<? extends javax.ws.rs.core.Application> testAdminApplication)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamStarter
getVitamServer()
static void
main(java.lang.String[] args)
Main method to run the application (doing start and join)void
start()
void
startAndJoin()
void
stop()
-
-
-
Constructor Detail
-
IhmDemoMain
public IhmDemoMain(java.lang.String configurationFile)
Constructor with configuration file name- Parameters:
configurationFile
-
-
IhmDemoMain
public IhmDemoMain(java.lang.String configurationFile, java.lang.Class<? extends javax.ws.rs.core.Application> testBusinessApplication, java.lang.Class<? extends javax.ws.rs.core.Application> testAdminApplication)
-
-
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 VitamApplicationServerException
- Throws:
VitamApplicationServerException
-
startAndJoin
public void startAndJoin() throws VitamApplicationServerException
- Throws:
VitamApplicationServerException
-
stop
public void stop() throws VitamApplicationServerException
- Throws:
VitamApplicationServerException
-
getVitamServer
public final VitamStarter getVitamServer()
-
-