org.apache.maven.plugin.ear
Class RarModule

java.lang.Object
  extended by org.apache.maven.plugin.ear.AbstractEarModule
      extended by org.apache.maven.plugin.ear.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 291287 2005-09-24 12:23:26Z snicoll $
Author:
Stephane Nicoll

Field Summary
protected static java.lang.String RAR_MODULE
           
 
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarModule
bundleDir, bundleFileName, excluded, MODULE_ELEMENT
 
Constructor Summary
RarModule()
           
RarModule(org.apache.maven.artifact.Artifact a)
           
 
Method Summary
 void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer, java.lang.String version)
          Appends the XML representation of this module.
protected  java.lang.String getType()
          Returns the type associated to the module.
 
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarModule
getArtifact, getArtifactId, getBundleDir, getBundleFileName, getGroupId, getUri, isExcluded, resolveArtifact, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RAR_MODULE

protected static final java.lang.String RAR_MODULE
See Also:
Constant Field Values
Constructor Detail

RarModule

public RarModule()

RarModule

public RarModule(org.apache.maven.artifact.Artifact a)
Method Detail

appendModule

public void appendModule(org.codehaus.plexus.util.xml.XMLWriter writer,
                         java.lang.String version)
Description copied from interface: EarModule
Appends the XML representation of this module.

Parameters:
writer - the writer to use
version - the version of the application.xml file

getType

protected java.lang.String getType()
Description copied from class: AbstractEarModule
Returns the type associated to the module.

Specified by:
getType in class AbstractEarModule
Returns:
the artifact's type of the module


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.