Class AbstractForker

    • Field Detail

      • env

        protected java.util.Map<java.lang.String,​java.lang.String> env
      • jvmArgs

        protected java.lang.String jvmArgs
      • exitVm

        protected boolean exitVm
      • stopAtShutdown

        protected boolean stopAtShutdown
      • jettyXmlFiles

        protected java.util.List<> jettyXmlFiles
      • jettyProperties

        protected java.util.Map<java.lang.String,​java.lang.String> jettyProperties
      • stopPort

        protected int stopPort
      • stopKey

        protected java.lang.String stopKey
      • jettyOutputFile

        protected jettyOutputFile
      • waitForChild

        protected boolean waitForChild
      • maxChildStartChecks

        protected int maxChildStartChecks
      • maxChildStartCheckMs

        protected long maxChildStartCheckMs
      • tokenFile

        protected tokenFile
      • workDir

        protected workDir
      • systemProperties

        protected java.util.Map<java.lang.String,​java.lang.String> systemProperties
    • Constructor Detail

      • AbstractForker

        public AbstractForker()
    • Method Detail

      • createCommand

        protected abstract java.lang.ProcessBuilder createCommand()
      • redeployWebApp

        protected abstract void redeployWebApp()
                                        throws java.lang.Exception
      • getWorkDir

        public getWorkDir()
      • setWorkDir

        public void setWorkDir​( workDir)
      • getSystemProperties

        public java.util.Map<java.lang.String,​java.lang.String> getSystemProperties()
        the systemProperties
      • setSystemProperties

        public void setSystemProperties​(java.util.Map<java.lang.String,​java.lang.String> systemProperties)
        systemProperties - the systemProperties to set
      • getEnv

        public java.util.Map<java.lang.String,​java.lang.String> getEnv()
      • setEnv

        public void setEnv​(java.util.Map<java.lang.String,​java.lang.String> env)
      • getJvmArgs

        public java.lang.String getJvmArgs()
      • setJvmArgs

        public void setJvmArgs​(java.lang.String jvmArgs)
      • isExitVm

        public boolean isExitVm()
      • setExitVm

        public void setExitVm​(boolean exitVm)
      • isStopAtShutdown

        public boolean isStopAtShutdown()
      • setStopAtShutdown

        public void setStopAtShutdown​(boolean stopAtShutdown)
      • getJettyXmlFiles

        public java.util.List<> getJettyXmlFiles()
      • setJettyXmlFiles

        public void setJettyXmlFiles​(java.util.List<> jettyXmlFiles)
      • getJettyProperties

        public java.util.Map<java.lang.String,​java.lang.String> getJettyProperties()
      • setJettyProperties

        public void setJettyProperties​(java.util.Map<java.lang.String,​java.lang.String> jettyProperties)
      • getStopPort

        public int getStopPort()
      • setStopPort

        public void setStopPort​(int stopPort)
      • getStopKey

        public java.lang.String getStopKey()
      • setStopKey

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

        public getJettyOutputFile()
      • setJettyOutputFile

        public void setJettyOutputFile​( jettyOutputFile)
      • isWaitForChild

        public boolean isWaitForChild()
      • setWaitForChild

        public void setWaitForChild​(boolean waitForChild)
      • getMaxChildtartChecks

        public int getMaxChildtartChecks()
      • setMaxChildStartChecks

        public void setMaxChildStartChecks​(int maxChildStartChecks)
      • getMaxChildStartCheckMs

        public long getMaxChildStartCheckMs()
      • setMaxChildStartCheckMs

        public void setMaxChildStartCheckMs​(long maxChildStartCheckMs)
      • getTokenFile

        public getTokenFile()
      • setTokenFile

        public void setTokenFile​( tokenFile)
      • doStart

        public void doStart()
                     throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to start the lifecycle
        doStart in class AbstractLifeCycle
        AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
        java.lang.Exception - If there was a problem starting. Will cause a transition to FAILED state