Package io.hawt.embedded
Class Main
java.lang.Object
io.hawt.embedded.Main
A simple way to run hawtio embedded inside a JVM by booting up a Jetty server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()static voidprotected voidfindThirdPartyPlugins(org.slf4j.Logger log, org.eclipse.jetty.server.handler.ContextHandlerCollection handlers, File tempDir) protected StringStrategy method where we could use some smarts to find the war using known paths or maybe the local maven repository?protected booleanisWarFileName(String name) static voidrun()run(boolean join) static voidvoidsetConnections(Map<String, Optional<String>> connections) voidsetContextPath(String contextPath) voidsetExtraClassPath(String extraClassPath) voidvoidsetJointServerThread(boolean jointServerThread) voidsetKeyStore(String keyStore) voidsetKeyStorePass(String keyStorePass) voidsetOpenUrl(boolean openUrl) voidsetPlugins(String plugins) voidvoidvoidsetWarLocation(String warLocation) voidshowWelcome(boolean welcome)
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
run
-
call
-
main
-
doRun
-
run
- Throws:
Exception
-
run
- Throws:
Exception
-
findThirdPartyPlugins
protected void findThirdPartyPlugins(org.slf4j.Logger log, org.eclipse.jetty.server.handler.ContextHandlerCollection handlers, File tempDir) -
findWar
Strategy method where we could use some smarts to find the war using known paths or maybe the local maven repository? -
isWarFileName
-
showWelcome
public void showWelcome(boolean welcome) -
setWarLocation
-
setWar
-
setContextPath
-
setPlugins
-
setHost
-
setPort
-
setExtraClassPath
-
setJointServerThread
public void setJointServerThread(boolean jointServerThread) -
setOpenUrl
public void setOpenUrl(boolean openUrl) -
setKeyStore
-
setKeyStorePass
-
setConnections
-