|
||||||||||
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.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.
Field Summary |
---|
Fields inherited from class org.jdom.Document |
---|
baseURI |
Constructor Summary | |
---|---|
WeblogicEjbJarXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor. |
Method Summary | |
---|---|
void |
addDispatchPolicy(EjbDef ejb,
String policy)
Adds a dispatch policy to a ejb definition. |
String |
getDispatchPolicy(EjbDef ejb)
Returns the dispatch policy for a given ejb. |
String |
getFileName()
Returns the file name of this descriptor. |
String |
getJndiName(EjbDef ejb)
Returns the jndi name for an EJB. |
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 WeblogicEjbJarXml(org.jdom.Element rootElement, DescriptorType type)
rootElement
- The root of the DOM document representing the parsed deployment descriptortype
- The descriptor typeMethod Detail |
---|
public String getFileName()
getFileName
in interface Descriptor
Descriptor.getFileName()
public String getJndiName(EjbDef ejb)
getJndiName
in interface VendorEjbDescriptor
ejb
- The EjbDef to get the jndi for
VendorEjbDescriptor.getJndiName(EjbDef)
public void addDispatchPolicy(EjbDef ejb, String policy)
ejb
- The ejb to be modifiedpolicy
- The policy to add
IllegalArgumentException
- if the given ejb does not exist in the descriptorpublic String getDispatchPolicy(EjbDef ejb)
ejb
- The ejb to get the dispatch policy for
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 |