public class JBossWebXml extends AbstractDescriptor implements VendorWebAppDescriptor
jboss-web.xml to provide convenience methods for easy access and
manipulation.| Constructor and Description |
|---|
JBossWebXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEjbReference(EjbRef ref)
Adds an ejb reference to the descriptor.
|
String |
getContextRoot() |
String |
getFileName()
Returns the file name of this descriptor.
|
addElement, checkElement, createNestedText, getChildText, getChildText, getDescriptorType, getDocument, getElements, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getTagByIdentifier, getTagByIdentifier, getTags, getTags, getTextaddContent, addContent, addContent, addContent, clone, cloneContent, detachRootElement, equals, getBaseURI, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getDocType, getParent, getProperty, getRootElement, hashCode, hasRootElement, indexOf, removeContent, removeContent, removeContent, removeContent, setBaseURI, setContent, setContent, setContent, setContent, setDocType, setProperty, setRootElement, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddElement, getDescriptorType, getDocument, getRootElement, getTagByIdentifier, getTagspublic JBossWebXml(org.jdom.Element rootElement,
DescriptorType type)
rootElement - The root document elementtype - The document typepublic String getContextRoot()
jboss-web.xml
file or null if not definedpublic final String getFileName()
getFileName in interface DescriptorDescriptor.getFileName()public void addEjbReference(EjbRef ref)
addEjbReference in interface VendorWebAppDescriptorref - ejb reference to add to the descriptorCopyright © 2004-2013 Codehaus. All Rights Reserved.