org.apache.maven.plugin.ear
Class SarModule
java.lang.Object
org.apache.maven.plugin.ear.AbstractEarModule
org.apache.maven.plugin.ear.SarModule
- All Implemented Interfaces:
- EarModule, JbossEarModule
public class SarModule
- extends AbstractEarModule
- implements JbossEarModule
The EarModule
implementation for a JBoss sar module.
- Version:
- $Revision: 992817 $
- Author:
- Stephane Nicoll , $Author: snicoll $ (last edit)
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarModule |
getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getModuleId, getUri, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor |
SAR_MODULE
protected static final String SAR_MODULE
- See Also:
- Constant Field Values
SarModule
public SarModule()
SarModule
public SarModule(org.apache.maven.artifact.Artifact a)
appendModule
public void appendModule(XMLWriter writer,
String version,
Boolean generateId)
- Description copied from interface:
EarModule
- Appends the XML representation of this module.
- Specified by:
appendModule
in interface EarModule
- Parameters:
writer
- the writer to useversion
- the version of the application.xml filegenerateId
- whether an id should be generated
appendJbossModule
public void appendJbossModule(XMLWriter writer,
String version)
- Description copied from interface:
JbossEarModule
- Appends the XML representation of this module for
the jboss-app.xml file.
- Specified by:
appendJbossModule
in interface JbossEarModule
- Parameters:
writer
- the writer to useversion
- the version of the jboss-app.xml file
getType
public String getType()
- Description copied from interface:
EarModule
- Returns the type associated to the module.
- Specified by:
getType
in interface EarModule
- Returns:
- the artifact's type of the module
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.