public class HarModule extends AbstractEarModule implements JbossEarModule
EarModule
implementation for a JBoss Hibernate archive.ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, earExecutionContext, excluded, JAVA_MODULE, MODULE_ELEMENT, unpack
Constructor and Description |
---|
HarModule()
Create an instance.
|
HarModule(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, getOriginalBundleFileName, getUri, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId)
appendModule
in interface EarModule
writer
- 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)
appendJbossModule
in interface JbossEarModule
writer
- the writer to useversion
- the version of the jboss-app.xml fileCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.