public class ServerFactory extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static IServer |
getServer() |
static IServer |
getServer(int port) |
static IServer |
getServer(int port,
String context) |
static IServer |
getServer(int port,
String context,
int scanIntervalSeconds) |
static IServer |
getServer(String webAppDir,
int port,
String context) |
static IServer |
getServer(String webAppDir,
int port,
String context,
int scanIntervalSeconds)
Return web server.
|
public static IServer getServer(String webAppDir, int port, String context, int scanIntervalSeconds)
important: if scanIntervalSeconds < 1 then you will turn off the hot swap
webAppDir - the directory of the project web rootport - the portcontext - the contextscanIntervalSeconds - the scan interval secondspublic static IServer getServer(int port)
public static IServer getServer()
Copyright © 2015. All rights reserved.