Class AccessExternalMain


  • public class AccessExternalMain
    extends java.lang.Object
    Access External web application
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessExternalMain​(java.lang.String configurationFile)
      Constructor with configuration file name
      AccessExternalMain​(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 To customize BusinessApplication and AdminApplication
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VitamStarter getVitamServer()
      Get the server
      static void main​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PARAMETER_JETTY_SERVER_PORT

        public static final java.lang.String PARAMETER_JETTY_SERVER_PORT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AccessExternalMain

        public AccessExternalMain​(java.lang.String configurationFile)
        Constructor with configuration file name
        Parameters:
        configurationFile -
      • AccessExternalMain

        public AccessExternalMain​(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 To customize BusinessApplication and AdminApplication
        Parameters:
        configurationFile -
        testBusinessApplication -
        testAdminApplication -