public class ServerProxyImpl extends Object implements ServerProxy
Modifier and Type | Class and Description |
---|---|
static class |
ServerProxyImpl.WebAppScannerListener
WebAppScannerListener
Handle notifications that files we are interested in have changed
during execution.
|
Constructor and Description |
---|
ServerProxyImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addWebApplication(AntWebAppContext webApp)
Adds a new web application to this server.
|
List<Connector> |
getConnectors() |
ContextHandlers |
getContextHandlers() |
File |
getJettyXml() |
List<LoginService> |
getLoginServices() |
Object |
getProxiedObject() |
RequestLog |
getRequestLog() |
int |
getScanIntervalSecs() |
String |
getStopKey() |
int |
getStopPort() |
File |
getTempDirectory() |
List<AntWebAppContext> |
getWebApplications() |
boolean |
isDaemon() |
void |
setConnectors(List<Connector> connectors) |
void |
setContextHandlers(ContextHandlers contextHandlers) |
void |
setDaemon(boolean daemon) |
void |
setJettyXml(File jettyXml) |
void |
setLoginServices(List<LoginService> loginServices) |
void |
setRequestLog(RequestLog requestLog) |
void |
setScanIntervalSecs(int scanIntervalSecs) |
void |
setStopKey(String stopKey) |
void |
setStopPort(int stopPort) |
void |
setTempDirectory(File tempDirectory) |
void |
setWebApplications(List<AntWebAppContext> webApplications) |
void |
start()
Starts this server.
|
public ServerProxyImpl()
public void addWebApplication(AntWebAppContext webApp)
ServerProxy
addWebApplication
in interface ServerProxy
webApp
- a AntWebAppContext object.public int getStopPort()
public void setStopPort(int stopPort)
public String getStopKey()
public void setStopKey(String stopKey)
public File getJettyXml()
public void setJettyXml(File jettyXml)
public RequestLog getRequestLog()
public void setRequestLog(RequestLog requestLog)
public List<LoginService> getLoginServices()
public void setLoginServices(List<LoginService> loginServices)
public List<AntWebAppContext> getWebApplications()
public void setWebApplications(List<AntWebAppContext> webApplications)
public File getTempDirectory()
public void setTempDirectory(File tempDirectory)
public void start()
ServerProxy
start
in interface ServerProxy
ServerProxy.start()
public Object getProxiedObject()
getProxiedObject
in interface ServerProxy
ServerProxy.getProxiedObject()
public boolean isDaemon()
public void setDaemon(boolean daemon)
daemon
- the daemon to setpublic ContextHandlers getContextHandlers()
public void setContextHandlers(ContextHandlers contextHandlers)
contextHandlers
- the contextHandlers to setpublic int getScanIntervalSecs()
public void setScanIntervalSecs(int scanIntervalSecs)
Copyright © 1995-2015 Webtide. All Rights Reserved.