org.apache.activemq.maven
Class BrokerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.activemq.maven.BrokerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class BrokerMojo
- extends org.apache.maven.plugin.AbstractMojo
Goal which starts an activemq broker.
Field Summary |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
project
protected org.apache.maven.project.MavenProject project
- The maven project.
BrokerMojo
public BrokerMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
waitForShutdown
protected void waitForShutdown(BrokerService broker)
throws Exception
- Wait for a shutdown invocation elsewhere
- Throws:
Exception
setSystemProperties
protected void setSystemProperties()
- Set system properties
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.