Package org.eclipse.jetty.maven.plugin
Class JettyHomeForker
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.maven.plugin.AbstractForker
org.eclipse.jetty.maven.plugin.JettyHomeForker
- All Implemented Interfaces:
 LifeCycle
JettyHomeBaseForker
 Unpacks a jetty-home and configures it with a base that allows it
 to run an unassembled webapp.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fileprotected Stringprotected Pathprotected FileLocation of existing jetty base directoryprotected FileLocation of existing jetty home directoryprotected FileZip of jetty-homeprotected Stringprotected Pathprotected Pathprotected String[]Optional list of other modules to activate.protected Pathprotected Stringprotected MavenWebAppContextprotected PathFields inherited from class org.eclipse.jetty.maven.plugin.AbstractForker
env, exitVm, jettyOutputFile, jettyProperties, jettyXmlFiles, jvmArgs, maxChildStartCheckMs, maxChildStartChecks, stopAtShutdown, stopKey, stopPort, systemProperties, tokenFile, waitForChild, workDir - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessBuildervoiddoStart()Method to override to start the lifecycleString[]protected voidvoidsetBaseDir(File baseDir) voidsetContextXml(String contextXml) voidsetJettyBase(File jettyBase) voidsetJettyHome(File jettyHome) voidsetJettyHomeZip(File jettyHomeZip) voidsetJettyOptions(String jettyOptions) voidsetLibExtJarFiles(List<File> libExtJarFiles) voidsetModules(String[] modules) voidsetWebApp(MavenWebAppContext webApp) Methods inherited from class org.eclipse.jetty.maven.plugin.AbstractForker
getEnv, getJettyOutputFile, getJettyProperties, getJettyXmlFiles, getJvmArgs, getMaxChildStartCheckMs, getMaxChildtartChecks, getStopKey, getStopPort, getSystemProperties, getTokenFile, getWorkDir, isExitVm, isStopAtShutdown, isWaitForChild, setEnv, setExitVm, setJettyOutputFile, setJettyProperties, setJettyXmlFiles, setJvmArgs, setMaxChildStartCheckMs, setMaxChildStartChecks, setStopAtShutdown, setStopKey, setStopPort, setSystemProperties, setTokenFile, setWaitForChild, setWorkDirMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString 
- 
Field Details
- 
webApp
 - 
contextXml
 - 
jettyHome
Location of existing jetty home directory - 
jettyHomeZip
Zip of jetty-home - 
jettyBase
Location of existing jetty base directory - 
baseDir
 - 
modules
Optional list of other modules to activate. - 
jettyOptions
 - 
libExtJarFiles
 - 
modulesPath
 - 
etcPath
 - 
libPath
 - 
webappPath
 - 
mavenLibPath
 - 
version
 
 - 
 - 
Constructor Details
- 
JettyHomeForker
public JettyHomeForker() 
 - 
 - 
Method Details
- 
setJettyOptions
 - 
getJettyOptions
 - 
getLibExtJarFiles
 - 
setLibExtJarFiles
 - 
getJettyHome
 - 
setJettyHome
 - 
getJettyBase
 - 
setJettyBase
 - 
getModules
 - 
setModules
 - 
getContextXmlFile
 - 
setContextXml
 - 
getJettyHomeZip
 - 
setJettyHomeZip
 - 
getWebApp
 - 
setWebApp
 - 
getBaseDir
 - 
setBaseDir
 - 
createCommand
- Specified by:
 createCommandin classAbstractForker
 - 
doStart
Description copied from class:AbstractLifeCycleMethod to override to start the lifecycle- Overrides:
 doStartin classAbstractForker- Throws:
 AbstractLifeCycle.StopException- If thrown, the lifecycle will immediately be stopped.Exception- If there was a problem starting. Will cause a transition to FAILED state
 - 
redeployWebApp
- Specified by:
 redeployWebAppin classAbstractForker- Throws:
 Exception
 
 -