org.apache.openejb.maven.plugin
Class StopTomEEMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.openejb.maven.plugin.AbstractAddressMojo
          extended by org.apache.openejb.maven.plugin.AbstractTomEEMojo
              extended by org.apache.openejb.maven.plugin.StopTomEEMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="stop",
      requiresDependencyResolution=RUNTIME_PLUS_SYSTEM)
public class StopTomEEMojo
extends AbstractTomEEMojo

Stop a TomEE started with start command.


Field Summary
 
Fields inherited from class org.apache.openejb.maven.plugin.AbstractTomEEMojo
apacheRepos, appDir, apps, args, bin, catalinaBase, config, debug, debugPort, deployedFile, deployOpenEjbApplication, factory, forceReloadable, keepServerXmlAsthis, lib, libDir, libs, local, packaging, remoteRepos, removeDefaultWebapps, removeTomeeWebapp, resolver, settings, simpleLog, skipCurrentProject, systemVariables, tomeeAjpPort, tomeeArtifactId, tomeeClassifier, tomeeGroupId, tomeeHttpsPort, tomeeShutdownPort, tomeeType, tomeeVersion, warFile, webappDir, webapps
 
Fields inherited from class org.apache.openejb.maven.plugin.AbstractAddressMojo
password, realm, tomeeHost, tomeeHttpPort, user
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StopTomEEMojo()
           
 
Method Summary
 void execute()
           
 String getCmd()
           
protected  boolean getWaitTomEE()
           
protected  void serverCmd(RemoteServer server, List<String> strings)
           
 
Methods inherited from class org.apache.openejb.maven.plugin.AbstractTomEEMojo
addShutdownHooks, cp, getConnectAttempts, run
 
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
 

Constructor Detail

StopTomEEMojo

public StopTomEEMojo()
Method Detail

getCmd

public String getCmd()
Specified by:
getCmd in class AbstractTomEEMojo

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractTomEEMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

serverCmd

protected void serverCmd(RemoteServer server,
                         List<String> strings)
Overrides:
serverCmd in class AbstractTomEEMojo

getWaitTomEE

protected boolean getWaitTomEE()
Overrides:
getWaitTomEE in class AbstractTomEEMojo


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.