Class VitamServerFactory


  • public class VitamServerFactory
    extends java.lang.Object
    Vitam Server factory for REST server
    • Method Detail

      • newVitamServerOnDefaultPort

        public static VitamServer newVitamServerOnDefaultPort()
        Returns:
        a VitamServer with the default port
      • setDefaultPort

        public static void setDefaultPort​(int port)
        Set a new Default Port
        Parameters:
        port -
        Throws:
        java.lang.IllegalArgumentException - if port <= 0
      • getDefaultPort

        public static int getDefaultPort()
        Get the Default Port
        Returns:
        the default current port
      • newVitamServer

        public static VitamServer newVitamServer​(int port)
        Parameters:
        port -
        Returns:
        a VitamServer with the specified port
        Throws:
        java.lang.IllegalArgumentException - if port <= 0
      • newVitamServerWithoutConnector

        public static VitamServer newVitamServerWithoutConnector​(int port)