org.jboss.deployment
Class J2eeModuleMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.deployment.J2eeModuleMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class J2eeModuleMetaData
extends MetaData (src)

The metadata for an application/module element


Field Summary
static int CLIENT
           
static int CONNECTOR
           
static int EJB
           
static int HAR
           
static int SERVICE
           
static int WEB
           
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
J2eeModuleMetaData()
           
 
Method Summary
 java.lang.String getAlternativeDD()
           
 java.lang.String getFileName()
           
 java.lang.String getWebContext()
           
 void importXml(org.w3c.dom.Element rootElement)
          Imports either the jboss or ejb-jar from the given element.
protected  void importXml(org.w3c.dom.Element element, boolean jbossSpecific)
           
 boolean isConnector()
           
 boolean isEjb()
           
 boolean isJava()
           
 boolean isWeb()
           
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importEjbJarXml, importJbossXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB

public static final int EJB
See Also:
Constant Field Values (src)

WEB

public static final int WEB
See Also:
Constant Field Values (src)

CLIENT

public static final int CLIENT
See Also:
Constant Field Values (src)

CONNECTOR

public static final int CONNECTOR
See Also:
Constant Field Values (src)

SERVICE

public static final int SERVICE
See Also:
Constant Field Values (src)

HAR

public static final int HAR
See Also:
Constant Field Values (src)
Constructor Detail

J2eeModuleMetaData

public J2eeModuleMetaData()
Method Detail

isEjb

public boolean isEjb()

isWeb

public boolean isWeb()

isJava

public boolean isJava()

isConnector

public boolean isConnector()

getFileName

public java.lang.String getFileName()

getAlternativeDD

public java.lang.String getAlternativeDD()

getWebContext

public java.lang.String getWebContext()

importXml

public void importXml(org.w3c.dom.Element rootElement)
               throws DeploymentException (src) 
Description copied from class: MetaData (src)
Imports either the jboss or ejb-jar from the given element.

Specified by:
importXml in interface XmlLoadable (src)
Overrides:
importXml in class MetaData (src)
Parameters:
rootElement - The element to import.
Throws:
DeploymentException (src) - Unrecognized root tag.

importXml

protected void importXml(org.w3c.dom.Element element,
                         boolean jbossSpecific)
                  throws DeploymentException (src) 
Throws:
DeploymentException (src)