Class SarModule

All Implemented Interfaces:
EarModule, JbossEarModule

public class SarModule extends AbstractEarModule implements JbossEarModule
Author:
kama
  • Field Details

    • DEFAULT_ARTIFACT_TYPE

      public static final String DEFAULT_ARTIFACT_TYPE
      Default type of the artifact of a JBoss sar module.
      See Also:
  • Constructor Details

    • SarModule

      public SarModule()
      Create an instance.
    • SarModule

      public SarModule(org.apache.maven.artifact.Artifact a)
      Parameters:
      a - Artifact
  • Method Details

    • appendModule

      public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version, Boolean generateId)
      Appends the XML representation of this module.
      Specified by:
      appendModule in interface EarModule
      Parameters:
      writer - the writer to use
      version - the version of the application.xml file
      generateId - whether an id should be generated
    • appendJbossModule

      public void appendJbossModule(org.codehaus.plexus.util.xml.XMLWriter writer, String version)
      Appends the XML representation of this module for the jboss-app.xml file.
      Specified by:
      appendJbossModule in interface JbossEarModule
      Parameters:
      writer - the writer to use
      version - the version of the jboss-app.xml file