Class Main


  • public class Main
    extends Object
    A simple way to run hawtio embedded inside a JVM by booting up a Jetty server
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(String[] args)
      • parseArguments

        public boolean parseArguments​(String[] args)
      • showOptions

        public void showOptions()
      • doRun

        public static void doRun​(Main main)
      • findThirdPartyPlugins

        protected void findThirdPartyPlugins​(org.eclipse.jetty.util.log.Slf4jLog log,
                                             org.eclipse.jetty.server.handler.HandlerCollection handlers,
                                             File tempDir)
      • findWar

        protected String findWar​(String... paths)
        Strategy method where we could use some smarts to find the war using known paths or maybe the local maven repository?
      • isWarFileName

        protected boolean isWarFileName​(String name)
      • getWarLocation

        public String getWarLocation()
      • setWarLocation

        public void setWarLocation​(String warLocation)
      • getWar

        public String getWar()
      • setWar

        public void setWar​(String war)
      • getContextPath

        public String getContextPath()
      • setContextPath

        public void setContextPath​(String contextPath)
      • getPort

        public Integer getPort()
      • setPort

        public void setPort​(Integer port)
      • getExtraClassPath

        public String getExtraClassPath()
      • setExtraClassPath

        public void setExtraClassPath​(String extraClassPath)
      • isJoinServerThread

        public boolean isJoinServerThread()
      • setJoinServerThread

        public void setJoinServerThread​(boolean joinServerThread)
      • isOpenUrl

        public boolean isOpenUrl()
      • setOpenUrl

        public void setOpenUrl​(boolean openUrl)
      • isHelp

        public boolean isHelp()
      • showWelcome

        public void showWelcome​(boolean welcome)