public class SarModule extends AbstractEarModule implements JbossEarModule
EarModule implementation for a JBoss sar module.| Modifier and Type | Field and Description |
|---|---|
protected static String |
SAR_MODULE |
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, earExecutionContext, excluded, JAVA_MODULE, MODULE_ELEMENT, unpack| Constructor and Description |
|---|
SarModule() |
SarModule(org.apache.maven.artifact.Artifact a) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer,
String version)
Appends the XML representation of this module for
the jboss-app.xml file.
|
void |
appendModule(org.codehaus.plexus.util.xml.XMLWriter writer,
String version,
Boolean generateId)
Appends the XML representation of this module.
|
String |
getType()
Returns the type associated to the module.
|
changeManifestClasspath, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getUri, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptorprotected static final String SAR_MODULE
public SarModule()
public SarModule(org.apache.maven.artifact.Artifact a)
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer,
String version,
Boolean generateId)
EarModuleappendModule in interface EarModulewriter - the writer to useversion - the version of the application.xml filegenerateId - whether an id should be generatedpublic void appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer,
String version)
JbossEarModuleappendJbossModule in interface JbossEarModulewriter - the writer to useversion - the version of the jboss-app.xml fileCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.