Package org.apache.maven.plugin.ear
Class HarModule
- java.lang.Object
-
- org.apache.maven.plugin.ear.AbstractEarModule
-
- org.apache.maven.plugin.ear.HarModule
-
- All Implemented Interfaces:
EarModule
,JbossEarModule
public class HarModule extends AbstractEarModule implements JbossEarModule
TheEarModule
implementation for a JBoss Hibernate archive.- Version:
- $Id: HarModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $
-
-
Field Summary
-
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarModule
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, earExecutionContext, excluded, JAVA_MODULE, MODULE_ELEMENT, unpack
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version)
Appends the XML representation of this module for the jboss-app.xml file.void
appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version, java.lang.Boolean generateId)
Appends the XML representation of this module.java.lang.String
getType()
Returns the type associated to the module.-
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarModule
areNullOrEqual, changeManifestClasspath, cleanBundleDir, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getOriginalBundleFileName, getUri, isExcluded, resolveArtifact, setEarExecutionContext, setUri, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor
-
-
-
-
Method Detail
-
appendModule
public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version, java.lang.Boolean generateId)
Appends the XML representation of this module.- Specified by:
appendModule
in interfaceEarModule
- Parameters:
writer
- the writer to useversion
- the version of the application.xml filegenerateId
- whether an id should be generated
-
appendJbossModule
public void appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version)
Appends the XML representation of this module for the jboss-app.xml file.- Specified by:
appendJbossModule
in interfaceJbossEarModule
- Parameters:
writer
- the writer to useversion
- the version of the jboss-app.xml file
-
-