org.mevenide.netbeans.j2ee
Class MavenEarImpl

java.lang.Object
  extended by org.mevenide.netbeans.j2ee.MavenEarImpl
All Implemented Interfaces:
org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

public class MavenEarImpl
extends java.lang.Object
implements org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

Author:
Milos Kleint (mkleint@codehaus.org)

Constructor Summary
MavenEarImpl(org.mevenide.netbeans.api.project.MavenProject proj)
          Creates a new instance of MavenEjbImp
 
Method Summary
 void addEjbJarModule(org.netbeans.modules.j2ee.api.ejbjar.EjbJar module)
           
 void addWebModule(org.netbeans.modules.web.api.webmodule.WebModule module)
           
 org.openide.filesystems.FileObject getDeploymentDescriptor()
           
 java.lang.String getJ2eePlatformVersion()
           
 org.openide.filesystems.FileObject getMetaInf()
           
static java.io.File guessEarDescriptor(org.mevenide.netbeans.api.project.MavenProject project)
          return a best guess about the location of the ear descriptor
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenEarImpl

public MavenEarImpl(org.mevenide.netbeans.api.project.MavenProject proj)
Creates a new instance of MavenEjbImp

Method Detail

addEjbJarModule

public void addEjbJarModule(org.netbeans.modules.j2ee.api.ejbjar.EjbJar module)
Specified by:
addEjbJarModule in interface org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

addWebModule

public void addWebModule(org.netbeans.modules.web.api.webmodule.WebModule module)
Specified by:
addWebModule in interface org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

getDeploymentDescriptor

public org.openide.filesystems.FileObject getDeploymentDescriptor()
Specified by:
getDeploymentDescriptor in interface org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

getJ2eePlatformVersion

public java.lang.String getJ2eePlatformVersion()
Specified by:
getJ2eePlatformVersion in interface org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

getMetaInf

public org.openide.filesystems.FileObject getMetaInf()
Specified by:
getMetaInf in interface org.netbeans.modules.j2ee.spi.ejbjar.EarImplementation

guessEarDescriptor

public static java.io.File guessEarDescriptor(org.mevenide.netbeans.api.project.MavenProject project)
return a best guess about the location of the ear descriptor


isValid

public boolean isValid()


Copyright © 2005 The Codehaus. All Rights Reserved.