java.lang.Object
com.pervasive.datarush.webapp.WebApplicationServers
Facade for finding and using
WebApplicationServerProvider's.-
Method Summary
Modifier and TypeMethodDescriptionstatic WebApplicationServercreateServer(WebApplicationConfig config) Creates aWebApplicationServerfor the given config.static WebApplicationServergetRunningServer(int port) Returns the server that is running on the given port (if one exists).
-
Method Details
-
createServer
Creates aWebApplicationServerfor the given config.- Parameters:
config- the config- Returns:
- a
WebApplicationServer
-
getRunningServer
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.
-