public class WeblogicXml extends AbstractDescriptor implements VendorWebAppDescriptor
weblogic.xml
to provide convenience methods for easy access and manipulation.Constructor and Description |
---|
WeblogicXml(Document document)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addEjbReference(String name,
String jndiName)
Adds a ejb reference description to the weblogic.xml.
|
String |
getFileName()
Returns the file name of this descriptor.
|
addElement, checkElement, createNestedText, getChildText, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocument
public WeblogicXml(Document document)
document
- The DOM document representing the parsed deployment descriptorpublic final String getFileName()
Descriptor
getFileName
in interface Descriptor
public final void addEjbReference(String name, String jndiName)
addEjbReference
in interface VendorWebAppDescriptor
name
- name of the referencejndiName
- jndi name to mapCopyright © 2004-2013 Codehaus. All Rights Reserved.