|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.mortbay.jetty.plugin.AbstractJettyMojo
org.nuiton.wikitty.plugin.JettyUtil
public class JettyUtil
New definition of the JettyRunWarMojo to set the protected visibility and getter and setter for the webApp file
| Field Summary | |
|---|---|
protected File |
webApp
The location of the war file. |
| Fields inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo |
|---|
connectors, consoleScanner, contextHandlers, contextPath, daemon, jettyConfig, loginServices, PORT_SYSPROPERTY, project, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, tmpDirectory, webAppConfig, webAppXml |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JettyUtil()
|
|
| Method Summary | |
|---|---|
void |
applyJettyXml()
|
void |
checkPomConfiguration()
|
void |
configureScanner()
|
void |
configureWebApplication()
|
void |
finishConfigurationBeforeStart()
|
File |
getWebApp()
|
void |
restartWebApp(boolean reconfigureScanner)
|
void |
setProject(org.apache.maven.project.MavenProject project)
|
void |
setWebApp(File webApp)
|
| Methods inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo |
|---|
execute, findJettyWebXmlFile, getContextPath, getJettyXmlFiles, getProject, getScanIntervalSeconds, getScanList, getScanner, getScannerListeners, getServer, getSystemPropertiesFile, getTmpDirectory, setScanList, setScannerListeners, setServer, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJetty |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File webApp
| Constructor Detail |
|---|
public JettyUtil()
| Method Detail |
|---|
public File getWebApp()
public void setWebApp(File webApp)
public void configureWebApplication()
throws Exception
configureWebApplication in class org.mortbay.jetty.plugin.AbstractJettyMojoException
public void checkPomConfiguration()
throws org.apache.maven.plugin.MojoExecutionException
checkPomConfiguration in class org.mortbay.jetty.plugin.AbstractJettyMojoorg.apache.maven.plugin.MojoExecutionException
public void configureScanner()
throws org.apache.maven.plugin.MojoExecutionException
configureScanner in class org.mortbay.jetty.plugin.AbstractJettyMojoorg.apache.maven.plugin.MojoExecutionException
public void restartWebApp(boolean reconfigureScanner)
throws Exception
restartWebApp in class org.mortbay.jetty.plugin.AbstractJettyMojoExceptionpublic void finishConfigurationBeforeStart()
finishConfigurationBeforeStart in class org.mortbay.jetty.plugin.AbstractJettyMojo
public void applyJettyXml()
throws Exception
applyJettyXml in class org.mortbay.jetty.plugin.AbstractJettyMojoExceptionpublic void setProject(org.apache.maven.project.MavenProject project)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||