org.apache.maven.plugin.ear
Class JavaModule
java.lang.Object
org.apache.maven.plugin.ear.AbstractEarModule
org.apache.maven.plugin.ear.JavaModule
- All Implemented Interfaces:
- EarModule
- Direct Known Subclasses:
- EjbClientModule
public class JavaModule
- extends AbstractEarModule
The EarModule
implementation for a J2EE client module.
- Version:
- $Id: JavaModule.java 332974 2005-11-13 12:42:44Z snicoll $
- Author:
- Stephane Nicoll
Field Summary |
protected static java.lang.String |
JAVA_MODULE
|
Constructor Summary |
JavaModule()
|
JavaModule(org.apache.maven.artifact.Artifact a,
java.lang.String defaultJavaBundleDir)
|
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. |
void |
resolveArtifact(java.util.Set artifacts,
java.lang.String defaultJavaBundleDir)
Resolves the Artifact represented by the module with
the specified execution configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JAVA_MODULE
protected static final java.lang.String JAVA_MODULE
- See Also:
- Constant Field Values
JavaModule
public JavaModule()
JavaModule
public JavaModule(org.apache.maven.artifact.Artifact a,
java.lang.String defaultJavaBundleDir)
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 useversion
- the version of the application.xml file
resolveArtifact
public void resolveArtifact(java.util.Set artifacts,
java.lang.String defaultJavaBundleDir)
throws org.apache.maven.plugin.MojoFailureException
- Description copied from interface:
EarModule
- Resolves the
Artifact
represented by the module with
the specified execution configuration.
- Specified by:
resolveArtifact
in interface EarModule
- Overrides:
resolveArtifact
in class AbstractEarModule
- Parameters:
artifacts
- the project's artifactsdefaultJavaBundleDir
- the default bundle dir for JavaModule
- Throws:
org.apache.maven.plugin.MojoFailureException
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-2007 Apache Software Foundation. All Rights Reserved.