|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.
| Constructor Summary | |
|---|---|
EjbJarXml(org.w3c.dom.Document theDocument)
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, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.cargo.module.Descriptor |
|---|
getDocument |
| Constructor Detail |
|---|
public EjbJarXml(org.w3c.dom.Document theDocument)
theDocument - The DOM document representing the parsed deployment
descriptor| Method Detail |
|---|
public java.lang.String getFileName()
getFileName in interface DescriptorDescriptor.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 J2eeDescriptorJ2eeDescriptor.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 | |||||||||