Package org.eclipse.jetty.maven.plugin
Class Starter
- java.lang.Object
-
- org.eclipse.jetty.maven.plugin.Starter
-
public class Starter extends java.lang.ObjectStarter Class which is exec'ed to create a new jetty process. Used by the JettyRunForked mojo.
-
-
Constructor Summary
Constructors Constructor Description Starter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyJettyXml()Apply any jetty xml files givenvoidcommunicateStartupResult()voidconfigureJetty()voidconfigureWebApp()voidgetConfiguration(java.lang.String[] args)voidjoin()static voidmain(java.lang.String[] args)protected voidprependHandler(Handler handler, HandlerCollection handlers)voidrun()
-
-
-
Method Detail
-
configureJetty
public void configureJetty() throws java.lang.Exception- Throws:
java.lang.Exception
-
configureWebApp
public void configureWebApp() throws java.lang.Exception- Throws:
java.lang.Exception
-
getConfiguration
public void getConfiguration(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
run
public void run() throws java.lang.Exception- Throws:
java.lang.Exception
-
join
public void join() throws java.lang.Exception- Throws:
java.lang.Exception
-
communicateStartupResult
public void communicateStartupResult()
-
applyJettyXml
public void applyJettyXml() throws java.lang.ExceptionApply any jetty xml files given- Throws:
java.lang.Exception- if unable to apply the xml
-
prependHandler
protected void prependHandler(Handler handler, HandlerCollection handlers)
-
main
public static final void main(java.lang.String[] args)
- Parameters:
args- Starter arguments
-
-