Package org.eclipse.jetty.maven.plugin
Class JettyForkedChild
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.maven.plugin.JettyForkedChild
- All Implemented Interfaces:
 LifeCycle
JettyForkedChild
 This is the class that is executed when the jetty maven plugin 
 forks a process when DeploymentMode=FORKED.
- 
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 JettyEmbedderprotected PathWatcherprotected Fileprotected File - 
Constructor Summary
Constructors - 
Method Summary
Methods 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
- 
jetty
 - 
tokenFile
 - 
scanner
 - 
webAppPropsFile
 
 - 
 - 
Constructor Details
- 
JettyForkedChild
- Parameters:
 args- arguments that were passed to main- Throws:
 Exception
 
 - 
 - 
Method Details
- 
configure
Based on the args passed to the program, configure jetty.- Parameters:
 args- args that were passed to the program.- Throws:
 Exception
 - 
doStart
Start a jetty instance and webapp. This thread will wait until jetty exits.- Overrides:
 doStartin classAbstractLifeCycle- 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
 - 
main
- Throws:
 Exception
 
 -