public class ServerProxyImpl extends java.lang.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.
|
java.util.List<Connector> |
getConnectors() |
ContextHandlers |
getContextHandlers() |
java.io.File |
getJettyXml() |
java.util.List<LoginService> |
getLoginServices() |
java.lang.Object |
getProxiedObject() |
RequestLog |
getRequestLog() |
int |
getScanIntervalSecs() |
java.lang.String |
getStopKey() |
int |
getStopPort() |
java.io.File |
getTempDirectory() |
java.util.List<AntWebAppContext> |
getWebApplications() |
boolean |
isDaemon() |
void |
setConnectors(java.util.List<Connector> connectors) |
void |
setContextHandlers(ContextHandlers contextHandlers) |
void |
setDaemon(boolean daemon) |
void |
setJettyXml(java.io.File jettyXml) |
void |
setLoginServices(java.util.List<LoginService> loginServices) |
void |
setRequestLog(RequestLog requestLog) |
void |
setScanIntervalSecs(int scanIntervalSecs) |
void |
setStopKey(java.lang.String stopKey) |
void |
setStopPort(int stopPort) |
void |
setTempDirectory(java.io.File tempDirectory) |
void |
setWebApplications(java.util.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 java.lang.String getStopKey()
public void setStopKey(java.lang.String stopKey)
public java.io.File getJettyXml()
public void setJettyXml(java.io.File jettyXml)
public java.util.List<Connector> getConnectors()
public void setConnectors(java.util.List<Connector> connectors)
public RequestLog getRequestLog()
public void setRequestLog(RequestLog requestLog)
public java.util.List<LoginService> getLoginServices()
public void setLoginServices(java.util.List<LoginService> loginServices)
public java.util.List<AntWebAppContext> getWebApplications()
public void setWebApplications(java.util.List<AntWebAppContext> webApplications)
public java.io.File getTempDirectory()
public void setTempDirectory(java.io.File tempDirectory)
public void start()
ServerProxy
start
in interface ServerProxy
ServerProxy.start()
public java.lang.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–2023 Webtide. All rights reserved.