|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdom.Document
org.codehaus.cargo.module.AbstractDescriptor
org.codehaus.cargo.module.ejb.EjbJarXml
public class EjbJarXml
Encapsulates the DOM representation of a ejb deployment descriptor
ejb-jar.xml
to provide convenience methods for easy access and manipulation.
Field Summary |
---|
Fields inherited from class org.jdom.Document |
---|
baseURI |
Constructor Summary | |
---|---|
EjbJarXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor. |
Method Summary | |
---|---|
void |
addVendorDescriptor(VendorEjbDescriptor descr)
Associates a vendor specific descriptor with this web.xml. |
Entity |
getEntityEjb(java.lang.String name)
Return a specific entity definition. |
java.util.Iterator |
getEntityEjbs()
Returns all entity ejbs in this descriptor. |
java.lang.String |
getFileName()
Returns the file name of this descriptor. |
Session |
getSessionEjb(java.lang.String name)
Return a specific session definition. |
java.util.Iterator |
getSessionEjbs()
Returns all session ejbs in this descriptor. |
java.util.Iterator |
getVendorDescriptors()
Returns all vendor descriptors associated with this J2EE deployment descriptor. |
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptor |
---|
addElement, checkElement, createNestedText, getChildText, getChildText, getDescriptorType, getDocument, getElements, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getTagByIdentifier, getTagByIdentifier, getTags, getTags, getText |
Methods inherited from class org.jdom.Document |
---|
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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.module.Descriptor |
---|
addElement, getDescriptorType, getDocument, getRootElement, getTagByIdentifier, getTags |
Methods inherited from interface org.jdom.Parent |
---|
clone, cloneContent, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getParent, indexOf, removeContent, removeContent, removeContent, removeContent |
Constructor Detail |
---|
public EjbJarXml(org.jdom.Element rootElement, DescriptorType type)
rootElement
- the root element of the documenttype
- the document descriptor typeMethod Detail |
---|
public java.lang.String getFileName()
getFileName
in interface Descriptor
Descriptor.getFileName()
public void addVendorDescriptor(VendorEjbDescriptor descr)
descr
- the vendor specific dexcriptor to associatepublic java.util.Iterator getVendorDescriptors()
web.xml
is
jboss-web.xml
.
getVendorDescriptors
in interface J2eeDescriptor
J2eeDescriptor.getVendorDescriptors()
public final java.util.Iterator getSessionEjbs()
public final java.util.Iterator getEntityEjbs()
public final Session getSessionEjb(java.lang.String name)
name
- the name of the ejb.
public final Entity getEntityEjb(java.lang.String name)
name
- the name of the ejb.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |