|
|||||||||||
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
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. For example "web.xml", "weblogic.xml", etc. |
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. For example for JBoss the vendor descriptor associated with web.xml is
jboss-web.xml . |
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
descriptorMethod 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 |