public class WeblogicEjbJarXml extends AbstractDescriptor implements VendorEjbDescriptor
weblogic-ejb-jar.xml to provide convenience methods for easy access and
manipulation.| Constructor and Description |
|---|
WeblogicEjbJarXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addElement, checkElement, createNestedText, getChildText, getChildText, getDescriptorType, getDocument, getElements, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getTagByIdentifier, getTagByIdentifier, getTags, getTags, getTextaddContent, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddElement, getDescriptorType, getDocument, getRootElement, getTagByIdentifier, getTagspublic WeblogicEjbJarXml(org.jdom.Element rootElement,
DescriptorType type)
rootElement - The root of the DOM document representing the parsed deployment descriptortype - The descriptor typepublic String getFileName()
getFileName in interface DescriptorDescriptor.getFileName()public String getJndiName(EjbDef ejb)
getJndiName in interface VendorEjbDescriptorejb - The EjbDef to get the jndi forVendorEjbDescriptor.getJndiName(EjbDef)public void addDispatchPolicy(EjbDef ejb, String policy)
ejb - The ejb to be modifiedpolicy - The policy to addIllegalArgumentException - if the given ejb does not exist in the descriptorpublic String getDispatchPolicy(EjbDef ejb)
ejb - The ejb to get the dispatch policy forIllegalArgumentException - if the given ejb does not exist in the descriptorCopyright © 2004-2013 Codehaus. All Rights Reserved.