|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.ant.ServerProxyImpl
public class ServerProxyImpl
A proxy class for interaction with Jetty server object. Used to have some level of abstraction over standard Jetty classes.
Constructor Summary | |
---|---|
ServerProxyImpl(java.util.List connectors,
java.util.List userRealmsList,
RequestLog requestLog,
java.io.File jettyXml)
Default constructor. |
Method Summary | |
---|---|
void |
addWebApplication(WebApplicationProxy webApp,
int scanIntervalSeconds)
Adds a new web application to this server. |
java.lang.Object |
getProxiedObject()
|
void |
start()
Starts this server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerProxyImpl(java.util.List connectors, java.util.List userRealmsList, RequestLog requestLog, java.io.File jettyXml)
userRealmsList
- port
- default connector port number.maxIdleTime
- default connector maximum idle time of for each
connection.Method Detail |
---|
public void addWebApplication(WebApplicationProxy webApp, int scanIntervalSeconds)
ServerProxy
addWebApplication
in interface ServerProxy
webApp
- a WebApplicationProxy object.ServerProxy.addWebApplication(WebApplicationProxy,
int)
public void start()
ServerProxy
start
in interface ServerProxy
ServerProxy.start()
public java.lang.Object getProxiedObject()
getProxiedObject
in interface ServerProxy
ServerProxy.getProxiedObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |