|
||||||||||
| 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.weblogic.WeblogicEjbJarXml
public class WeblogicEjbJarXml
Encapsulates the DOM representation of a weblogic ejb deployment descriptor
weblogic-ejb-jar.xml to provide convenience methods for easy access and
manipulation.
| Constructor Summary | |
|---|---|
WeblogicEjbJarXml(org.w3c.dom.Document document)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addDispatchPolicy(EjbDef ejb,
java.lang.String policy)
Adds a dispatch policy to a ejb definition. |
java.lang.String |
getDispatchPolicy(EjbDef ejb)
Returns the dispatch policy for a given ejb. |
java.lang.String |
getFileName()
Returns the file name of this descriptor. |
java.lang.String |
getJndiName(EjbDef ejb)
Returns the jndi name for an EJB. |
| 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 WeblogicEjbJarXml(org.w3c.dom.Document document)
document - The DOM document representing the parsed deployment descriptor| Method Detail |
|---|
public java.lang.String getFileName()
getFileName in interface DescriptorDescriptor.getFileName()public java.lang.String getJndiName(EjbDef ejb)
getJndiName in interface VendorEjbDescriptorejb - The EjbDef to get the jndi for
VendorEjbDescriptor.getJndiName(EjbDef)
public void addDispatchPolicy(EjbDef ejb,
java.lang.String policy)
ejb - The ejb to be modifiedpolicy - The policy to add
java.lang.IllegalArgumentException - if the given ejb does not exist in the descriptorpublic java.lang.String getDispatchPolicy(EjbDef ejb)
ejb - The ejb to get the dispatch policy for
java.lang.IllegalArgumentException - if the given ejb does not exist in the descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||