public class SarModule extends AbstractEarModule implements JbossEarModule
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ARTIFACT_TYPE
Default type of the artifact of a JBoss sar module.
|
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, classPathItem, earExecutionContext, excluded, JAVA_MODULE, libDirectory, MODULE_ELEMENT, type, unpack
Constructor and Description |
---|
SarModule()
Create an instance.
|
SarModule(Artifact a) |
Modifier and Type | Method and Description |
---|---|
void |
appendJbossModule(XMLWriter writer,
String version)
Appends the
XML representation of this module for the jboss-app.xml file. |
void |
appendModule(XMLWriter writer,
String version,
Boolean generateId)
Appends the
XML representation of this module. |
changeManifestClasspath, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getType, getUri, isClassPathItem, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor
public static final String DEFAULT_ARTIFACT_TYPE
public void appendModule(XMLWriter writer, String version, Boolean generateId)
XML
representation of this module.appendModule
in interface EarModule
writer
- the writer to useversion
- the version of the application.xml
filegenerateId
- whether an id should be generatedpublic void appendJbossModule(XMLWriter writer, String version)
XML
representation of this module for the jboss-app.xml file.appendJbossModule
in interface JbossEarModule
writer
- the writer to useversion
- the version of the jboss-app.xml
fileCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.