Class RarModule

  • All Implemented Interfaces:
    EarModule
    Direct Known Subclasses:
    WsrModule

    public class RarModule
    extends AbstractEarModule
    The EarModule implementation for an J2EE connector module.
    Version:
    $Id: RarModule.java 1645331 2014-12-13 17:31:09Z khmarbaise $
    • Constructor Detail

      • RarModule

        public RarModule()
        Create an instance.
      • RarModule

        public RarModule​(org.apache.maven.artifact.Artifact a)
        Parameters:
        a - Artifact
    • 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.
        Parameters:
        writer - the writer to use
        version - the version of the application.xml file
        generateId - whether an id should be generated
      • getType

        public java.lang.String getType()
        Returns the type associated to the module.
        Returns:
        the artifact's type of the module