org.jboss.deployment
Class J2eeModuleMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.deployment.J2eeModuleMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

public class J2eeModuleMetaData
extends MetaData

The metadata for an application/module element

Version:
$Revision: 1.10 $
Author:
Daniel Schulze, Thomas.Diesler@jboss.org

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
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
J2eeModuleMetaData()
           
 
Method Summary
 String getAlternativeDD()
           
 String getFileName()
           
 String getWebContext()
           
 void importXml(Element rootElement)
          Imports either the jboss or ejb-jar from the given element.
protected  void importXml(Element element, boolean jbossSpecific)
           
 boolean isConnector()
           
 boolean isEjb()
           
 boolean isJava()
           
 boolean isWeb()
           
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, 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

WEB

public static final int WEB
See Also:
Constant Field Values

CLIENT

public static final int CLIENT
See Also:
Constant Field Values

CONNECTOR

public static final int CONNECTOR
See Also:
Constant Field Values

SERVICE

public static final int SERVICE
See Also:
Constant Field Values

HAR

public static final int HAR
See Also:
Constant Field Values
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 String getFileName()

getAlternativeDD

public String getAlternativeDD()

getWebContext

public String getWebContext()

importXml

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

Specified by:
importXml in interface XmlLoadable
Overrides:
importXml in class MetaData
Parameters:
rootElement - The element to import.
Throws:
org.jboss.deployment.DeploymentException - Unrecognized root tag.

importXml

protected void importXml(Element element,
                         boolean jbossSpecific)
                  throws org.jboss.deployment.DeploymentException
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.