org.ow2.petals.plugin.jbiplugin
Class JBIStopMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
          extended by org.ow2.petals.plugin.jbiplugin.JBIAbstractJMXMojo
              extended by org.ow2.petals.plugin.jbiplugin.JBIStopMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JBIStopMojo
extends JBIAbstractJMXMojo

Stop a JBI Artefact (Component / Service Assembly)

Author:
cdeneux - Capgemini Sud

Field Summary
protected  java.lang.Boolean undeploySAs
          Flag to force the service-assembly uninstallation when shutdowning a JBI component.
 
Fields inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractJMXMojo
force, host, log, password, port, username
 
Fields inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
artifactFactory, artifactResolver, jbiDirectory, jbiName, localRepository, mavenProjectBuilder, outputDirectory, packaging, PACKAGING_COMPONENT, PACKAGING_SA, PACKAGING_SL, PACKAGING_SU, project, projectArtifact, settingsBuilder, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JBIStopMojo()
           
 
Method Summary
 void executeMojo()
          Execute the plugin
 
Methods inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractJMXMojo
getComponentNameFromJBIDescriptor, getComponentsFromServiceAssemblyJBIDescriptor, getServiceAssemblyNameFromJBIDescriptor, getSharedLibrariesFromComponentJBIDescriptor, getSharedLibraryNameFromJBIDescriptor
 
Methods inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
attachedJBIArchive, buildProjectFromArtifact, createDependencyArtifact, debug, error, error, execute, getSharedLibraries, info, packagingIsOkForGoal, readJbiDescriptor, warn
 
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

undeploySAs

protected java.lang.Boolean undeploySAs
Flag to force the service-assembly uninstallation when shutdowning a JBI component.

Constructor Detail

JBIStopMojo

public JBIStopMojo()
Method Detail

executeMojo

public void executeMojo()
                 throws org.apache.maven.plugin.MojoExecutionException,
                        org.apache.maven.plugin.MojoFailureException
Execute the plugin

Specified by:
executeMojo in class JBIAbstractMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.