org.jboss.deployment
Class J2eeApplicationMetaData

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

public class J2eeApplicationMetaData
extends MetaData (src)

A representation of the application.xml and jboss-app.xml deployment descriptors.

See Also:
XmlLoadable (src)

Field Summary
 
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
J2eeApplicationMetaData()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getJMXName()
           
 java.lang.String getLargeIcon()
           
 java.util.Iterator getModules()
           
 java.lang.String getSecurityDomain()
           
 java.util.Map getSecurityRoles()
           
 java.lang.String getSmallIcon()
           
 java.lang.String getUnauthenticatedPrincipal()
           
protected  void importApplicationXml(org.w3c.dom.Element rootElement)
           
protected  void importJBossAppXml(org.w3c.dom.Element rootElement)
           
 void importXml(org.w3c.dom.Element rootElement)
          Imports either the application.xml or jboss-app.xml from the given element.
 
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
 

Constructor Detail

J2eeApplicationMetaData

public J2eeApplicationMetaData()
Method Detail

getDisplayName

public java.lang.String getDisplayName()

getDescription

public java.lang.String getDescription()

getSmallIcon

public java.lang.String getSmallIcon()

getLargeIcon

public java.lang.String getLargeIcon()

getModules

public java.util.Iterator getModules()

getSecurityRoles

public java.util.Map getSecurityRoles()

getSecurityDomain

public java.lang.String getSecurityDomain()

getUnauthenticatedPrincipal

public java.lang.String getUnauthenticatedPrincipal()

getJMXName

public java.lang.String getJMXName()

importXml

public void importXml(org.w3c.dom.Element rootElement)
               throws DeploymentException (src) 
Imports either the application.xml or jboss-app.xml 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.

importApplicationXml

protected void importApplicationXml(org.w3c.dom.Element rootElement)
                             throws DeploymentException (src) 
Throws:
DeploymentException (src)

importJBossAppXml

protected void importJBossAppXml(org.w3c.dom.Element rootElement)
                          throws DeploymentException (src) 
Throws:
DeploymentException (src)