public class JBossXml extends AbstractDescriptor implements VendorEjbDescriptor
jboss.xml
to provide convenience methods for easy access and
manipulation.Constructor and Description |
---|
JBossXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Returns the file name 'jboss.xml'.
|
String |
getJndiName(EjbDef ejb)
Returns the JNDI name for the ejb..
|
addElement, checkElement, createNestedText, getChildText, getChildText, getDescriptorType, getDocument, getElements, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getTagByIdentifier, getTagByIdentifier, getTags, getTags, getText
addContent, 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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addElement, getDescriptorType, getDocument, getRootElement, getTagByIdentifier, getTags
public JBossXml(org.jdom.Element rootElement, DescriptorType type)
rootElement
- The root of the DOM document representing the parsed deployment descriptortype
- The descriptor typepublic String getJndiName(EjbDef ejb)
getJndiName
in interface VendorEjbDescriptor
ejb
- The ejbpublic String getFileName()
getFileName
in interface Descriptor
Copyright © 2004-2013 Codehaus. All Rights Reserved.