public class HarModule extends AbstractEarModule implements JbossEarModule
EarModule implementation for a JBoss Hibernate archive.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ARTIFACT_TYPE
Default type of the artifact of a JBoss Hibernate archive.
|
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, classPathItem, earExecutionContext, excluded, JAVA_MODULE, libDirectory, MODULE_ELEMENT, type, unpack| Constructor and Description |
|---|
HarModule()
Create an instance.
|
HarModule(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, writeAltDeploymentDescriptorpublic static final String DEFAULT_ARTIFACT_TYPE
public void appendModule(XMLWriter writer, String version, Boolean generateId)
XML representation of this module.appendModule in interface EarModulewriter - 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 JbossEarModulewriter - the writer to useversion - the version of the jboss-app.xml fileCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.