Class ServerProxyImpl

  • All Implemented Interfaces:

    public class ServerProxyImpl
    extends java.lang.Object
    implements ServerProxy
    A proxy class for interaction with Jetty server object. Used to have some level of abstraction over standard Jetty classes.
    • Constructor Detail

      • ServerProxyImpl

        public ServerProxyImpl()
        Default constructor. Creates a new Jetty server with a standard connector listening on a given port.
    • Method Detail

      • addWebApplication

        public void addWebApplication​(AntWebAppContext webApp)
        Description copied from interface: ServerProxy
        Adds a new web application to this server.
        Specified by:
        addWebApplication in interface ServerProxy
        webApp - a AntWebAppContext object.
      • getStopPort

        public int getStopPort()
      • setStopPort

        public void setStopPort​(int stopPort)
      • getStopKey

        public java.lang.String getStopKey()
      • setStopKey

        public void setStopKey​(java.lang.String stopKey)
      • getJettyXml

        public getJettyXml()
      • setJettyXml

        public void setJettyXml​( jettyXml)
      • getConnectors

        public java.util.List<Connector> getConnectors()
      • setConnectors

        public void setConnectors​(java.util.List<Connector> connectors)
      • getRequestLog

        public RequestLog getRequestLog()
      • setRequestLog

        public void setRequestLog​(RequestLog requestLog)
      • getLoginServices

        public java.util.List<LoginService> getLoginServices()
      • setLoginServices

        public void setLoginServices​(java.util.List<LoginService> loginServices)
      • getWebApplications

        public java.util.List<AntWebAppContext> getWebApplications()
      • setWebApplications

        public void setWebApplications​(java.util.List<AntWebAppContext> webApplications)
      • getTempDirectory

        public getTempDirectory()
      • setTempDirectory

        public void setTempDirectory​( tempDirectory)
      • isDaemon

        public boolean isDaemon()
        the daemon
      • setDaemon

        public void setDaemon​(boolean daemon)
        daemon - the daemon to set
      • getContextHandlers

        public ContextHandlers getContextHandlers()
        the contextHandlers
      • setContextHandlers

        public void setContextHandlers​(ContextHandlers contextHandlers)
        contextHandlers - the contextHandlers to set
      • getScanIntervalSecs

        public int getScanIntervalSecs()
      • setScanIntervalSecs

        public void setScanIntervalSecs​(int scanIntervalSecs)