Package org.eclipse.jetty.maven.plugin
Class Starter
- java.lang.Object
-
- org.eclipse.jetty.maven.plugin.Starter
-
public class Starter extends java.lang.Object
Starter 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 void
applyJettyXml()
Apply any jetty xml files givenvoid
communicateStartupResult()
void
configureJetty()
void
configureWebApp()
void
getConfiguration(java.lang.String[] args)
void
join()
static void
main(java.lang.String[] args)
protected void
prependHandler(Handler handler, HandlerCollection handlers)
void
run()
-
-
-
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.Exception
Apply 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
-
-