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() |
HarModule(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, writeAltDeploymentDescriptor
public HarModule()
public HarModule(org.apache.maven.artifact.Artifact a)
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId)
EarModule
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)
JbossEarModule
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.