org.ow2.easybeans.mavenplugin
Class EasyBeansUndeployMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
          extended by org.ow2.easybeans.mavenplugin.AbstractEasyBeansBoundMojo
              extended by org.ow2.easybeans.mavenplugin.EasyBeansUndeployMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.ow2.util.maven.plugin.deployment.api.IDeploymentBoundMojo, org.ow2.util.maven.plugin.deployment.api.IDeploymentMojo, org.ow2.util.maven.plugin.deployment.api.IMojo

public class EasyBeansUndeployMojo
extends AbstractEasyBeansBoundMojo

Undeploy project resources on a started EasyBeans instance.

Author:
Vincent Michaud

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EasyBeansUndeployMojo()
           
 
Method Summary
 org.ow2.util.maven.plugin.deployment.api.IDeploymentBehavior defineDeploymentBehavior(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
          Define the behavior when a file must be deployed / undeployed.
 org.ow2.util.maven.plugin.deployment.api.IPluginServer getLaunchedServer(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
          Create or get a launched server instance.
 
Methods inherited from class org.ow2.easybeans.mavenplugin.AbstractEasyBeansBoundMojo
defineConfiguration, defineMojoCore
 
Methods inherited from class org.ow2.easybeans.mavenplugin.AbstractEasyBeansMojo
contextualize, execute, getAdditionalDeployables, getArtifactFactory, getArtifactResolver, getCore, getLocalRepository, getMetadataSource, getPlexusPluginContext, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject, getProjectBuilder, getReactorProjects
 
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
 
Methods inherited from interface org.ow2.util.maven.plugin.deployment.api.IDeploymentMojo
getAdditionalDeployables
 
Methods inherited from interface org.ow2.util.maven.plugin.deployment.api.IMojo
getArtifactFactory, getArtifactResolver, getLocalRepository, getLog, getMetadataSource, getPlexusPluginContext, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject, getProjectBuilder, getReactorProjects
 

Constructor Detail

EasyBeansUndeployMojo

public EasyBeansUndeployMojo()
Method Detail

getLaunchedServer

public org.ow2.util.maven.plugin.deployment.api.IPluginServer getLaunchedServer(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
                                                                         throws org.apache.maven.plugin.MojoExecutionException
Create or get a launched server instance.

Parameters:
core - The core of the mojo
Returns:
Plugin server interface
Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error

defineDeploymentBehavior

public org.ow2.util.maven.plugin.deployment.api.IDeploymentBehavior defineDeploymentBehavior(org.ow2.util.maven.plugin.deployment.api.IDeploymentCore core)
                                                                                      throws org.apache.maven.plugin.MojoExecutionException
Define the behavior when a file must be deployed / undeployed.

Parameters:
core - The core of the mojo
Returns:
The deployment behavior
Throws:
org.apache.maven.plugin.MojoExecutionException - Execution error


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.