org.jboss.maven.plugins.as.control.mojo
Class JbossAsControlAbstractDeploymentMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.maven.plugins.as.control.mojo.JbossAsControlAbstractMojo
          extended by org.jboss.maven.plugins.as.control.mojo.JbossAsControlAbstractDeploymentMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JbossAsControlDeployMojo, JbossAsControlUndeployMojo

public abstract class JbossAsControlAbstractDeploymentMojo
extends JbossAsControlAbstractMojo

JbossAsControlAbstractDeploymentMojo.java Base class for Maven2 deployment mojos

Version:
$Revision: $
Author:
ALR

Field Summary
protected  org.jboss.maven.plugins.as.common.JbossAsRuntimeDelegate delegate
          Delegate for JBossAS Runtime Operations
protected static String DELIMITER_DEPLOYABLE_FILES
          Delimter separating out paths of configured files to deploy or undeploy
protected  String files
          Comma-delimited list of files to deploy/undeploy
protected static ClassLoader hackClassLoader
           
protected static org.apache.commons.logging.Log logger
           
protected  boolean runTests
          Whether or not to run the integration tests
protected  String serverConfigName
          Server configuration to use
 
Fields inherited from class org.jboss.maven.plugins.as.control.mojo.JbossAsControlAbstractMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JbossAsControlAbstractDeploymentMojo()
           
 
Method Summary
protected  Set<File> getDeployableUnits()
          Obtains a Set of Deployable Units to deploy
 String getFiles()
           
protected  ClassLoader getJbossClientClassLoader(ClassLoader oldLoader)
           
 String getServerConfigName()
           
 boolean isEnabled()
           
 void setFiles(String files)
           
 void setServerConfigName(String serverConfigName)
           
 
Methods inherited from class org.jboss.maven.plugins.as.control.mojo.JbossAsControlAbstractMojo
getProject, setProject
 
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.apache.maven.plugin.Mojo
execute
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger

DELIMITER_DEPLOYABLE_FILES

protected static final String DELIMITER_DEPLOYABLE_FILES
Delimter separating out paths of configured files to deploy or undeploy

See Also:
Constant Field Values

runTests

protected boolean runTests
Whether or not to run the integration tests


serverConfigName

protected String serverConfigName
Server configuration to use


files

protected String files
Comma-delimited list of files to deploy/undeploy


delegate

protected final org.jboss.maven.plugins.as.common.JbossAsRuntimeDelegate delegate
Delegate for JBossAS Runtime Operations


hackClassLoader

protected static ClassLoader hackClassLoader
Constructor Detail

JbossAsControlAbstractDeploymentMojo

public JbossAsControlAbstractDeploymentMojo()
Method Detail

getDeployableUnits

protected Set<File> getDeployableUnits()
Obtains a Set of Deployable Units to deploy

Returns:

getJbossClientClassLoader

protected ClassLoader getJbossClientClassLoader(ClassLoader oldLoader)

isEnabled

public boolean isEnabled()

getServerConfigName

public String getServerConfigName()

setServerConfigName

public void setServerConfigName(String serverConfigName)

getFiles

public String getFiles()

setFiles

public void setFiles(String files)


Copyright © 2009 JBoss Inc.. All Rights Reserved.