org.jboss.metadata
Class WebMetaData
java.lang.Object
|
+--org.jboss.metadata.WebMetaData
- All Implemented Interfaces:
- XmlLoadable
- public class WebMetaData
- extends java.lang.Object
- implements XmlLoadable
A representation of the web-app.xml and jboss-web.xml deployment
descriptors as used by the AbstractWebContainer web container integration
support class.
- Version:
- $Revision: 1.2.2.1 $
- Author:
- Scott_Stark@displayscape.com
- See Also:
XmlLoadable
,
AbstractWebContainer
Method Summary |
java.util.Iterator |
getEjbReferences()
Return an iterator of the ejb-ref mappings. |
java.util.Iterator |
getEnvironmentEntries()
Return an iterator of the env-entry mappings. |
java.util.Iterator |
getResourceReferences()
Return an iterator of the resource-ref mappings. |
java.lang.String |
getSecurityDomain()
Return the optional security-domain jboss-web.xml element. |
protected void |
importJBossWebXml(org.w3c.dom.Element jbossWeb)
Parse the elements of the jboss-web element used by the integration layer. |
protected void |
importWebXml(org.w3c.dom.Element webApp)
Parse the elements of the web-app element used by the integration layer. |
void |
importXml(org.w3c.dom.Element element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebMetaData
public WebMetaData()
getEnvironmentEntries
public java.util.Iterator getEnvironmentEntries()
- Return an iterator of the env-entry mappings.
- Returns:
- Iterator of EnvEntryMetaData objects.
getEjbReferences
public java.util.Iterator getEjbReferences()
- Return an iterator of the ejb-ref mappings.
- Returns:
- Iterator of EjbRefMetaData objects.
getResourceReferences
public java.util.Iterator getResourceReferences()
- Return an iterator of the resource-ref mappings.
- Returns:
- Iterator of ResourceRefMetaData objects.
getSecurityDomain
public java.lang.String getSecurityDomain()
- Return the optional security-domain jboss-web.xml element.
- Returns:
- The jndiName of the security manager implementation that is
responsible for security of the web application. May be null if
there was no security-domain specified in the jboss-web.xml
descriptor.
importXml
public void importXml(org.w3c.dom.Element element)
throws java.lang.Exception
- Specified by:
importXml
in interface XmlLoadable
importWebXml
protected void importWebXml(org.w3c.dom.Element webApp)
throws java.lang.Exception
- Parse the elements of the web-app element used by the integration layer.
importJBossWebXml
protected void importJBossWebXml(org.w3c.dom.Element jbossWeb)
throws java.lang.Exception
- Parse the elements of the jboss-web element used by the integration layer.
Copyright © 2000 The JBoss Organization. All Rights Reserved.