当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
J2eeModuleMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.deployment
Class J2eeModuleMetaData
java.lang.Object
org.jboss.metadata.MetaData
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
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importEjbJarXml, importJbossXml, jdk13Enabled |
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
J2eeModuleMetaData
public J2eeModuleMetaData()
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.