org.apache.maven.plugin.ear
Class EjbModule

java.lang.Object
  extended by org.apache.maven.plugin.ear.AbstractEarModule
      extended by org.apache.maven.plugin.ear.EjbModule
All Implemented Interfaces:
EarModule
Direct Known Subclasses:
Ejb3Module, ParModule

public class EjbModule
extends AbstractEarModule

The EarModule implementation for an EJB module.

Version:
$Id: EjbModule.java 992817 2010-09-05 16:32:58Z snicoll $
Author:
Stephane Nicoll

Field Summary
protected static String EJB_MODULE
           
 
Fields inherited from class org.apache.maven.plugin.ear.AbstractEarModule
ALT_DD, altDeploymentDescriptor, bundleDir, bundleFileName, earExecutionContext, excluded, JAVA_MODULE, MODULE_ELEMENT, unpack
 
Constructor Summary
EjbModule()
           
EjbModule(Artifact a)
           
 
Method Summary
 void appendModule(XMLWriter writer, String version, Boolean generateId)
          Appends the XML representation of this module.
 String getType()
          Returns the type associated to the module.
 
Methods inherited from class org.apache.maven.plugin.ear.AbstractEarModule
changeManifestClasspath, getAltDeploymentDescriptor, getArtifact, getArtifactId, getBundleDir, getBundleFileName, getClassifier, getGroupId, getLibDir, getModuleId, getUri, isExcluded, resolveArtifact, setEarExecutionContext, shouldUnpack, startModuleElement, toString, writeAltDeploymentDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EJB_MODULE

protected static final String EJB_MODULE
See Also:
Constant Field Values
Constructor Detail

EjbModule

public EjbModule()

EjbModule

public EjbModule(Artifact a)
Method Detail

appendModule

public void appendModule(XMLWriter writer,
                         String version,
                         Boolean generateId)
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
generateId - whether an id should be generated

getType

public String getType()
Description copied from interface: EarModule
Returns the type associated to the module.

Returns:
the artifact's type of the module


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.