Class WebApplicationServers

java.lang.Object
com.pervasive.datarush.webapp.WebApplicationServers

public final class WebApplicationServers extends Object
Facade for finding and using WebApplicationServerProvider's.
  • Method Details

    • createServer

      public static WebApplicationServer createServer(WebApplicationConfig config)
      Creates a WebApplicationServer for the given config.
      Parameters:
      config - the config
      Returns:
      a WebApplicationServer
    • getRunningServer

      public static WebApplicationServer getRunningServer(int port)
      Returns the server that is running on the given port (if one exists). Note that this only provides servers that were launched from this JVM.
      Parameters:
      port - the port
      Returns:
      the server that is running on the given port.