org.apache.activemq.maven
Class BrokerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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
 
Constructor Summary
BrokerMojo()
           
 
Method Summary
 void execute()
           
protected  void setSystemProperties()
          Set system properties
protected  void waitForShutdown(BrokerService broker)
          Wait for a shutdown invocation elsewhere
 
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

project

protected org.apache.maven.project.MavenProject project
The maven project.

Constructor Detail

BrokerMojo

public BrokerMojo()
Method Detail

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–2013 The Apache Software Foundation. All rights reserved.