|
||||||||||
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.webapp.resin.ResinWebXml
public class ResinWebXml
Encapsulates the DOM representation of a web deployment descriptor resin-web.xml
to provide convenience methods for easy access and manipulation.
Constructor Summary | |
---|---|
ResinWebXml(org.w3c.dom.Document document)
Constructor. |
Method Summary | |
---|---|
void |
addEjbReference(java.lang.String name,
java.lang.String jndiName)
Adds a ejb reference description to orion-web.xml. |
org.w3c.dom.Element |
getDirectoryServlet()
Get the directory servlet. |
java.lang.String |
getFileName()
Returns the file name of this descriptor. |
AbstractNodeList |
getJndiLinks()
Get the jndi links. |
AbstractNodeList |
getResourceRefs()
Get the resource references. |
org.w3c.dom.Element |
getSessionConfig()
Get the session config element. |
AbstractNodeList |
getSystemProperties()
Get the system properties. |
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 ResinWebXml(org.w3c.dom.Document document)
document
- The DOM document representing the parsed deployment descriptorMethod Detail |
---|
public void addEjbReference(java.lang.String name, java.lang.String jndiName)
addEjbReference
in interface VendorWebAppDescriptor
name
- name of the referencejndiName
- jndi name to mappublic java.lang.String getFileName()
getFileName
in interface Descriptor
Descriptor.getFileName()
public AbstractNodeList getSystemProperties()
public AbstractNodeList getResourceRefs()
public AbstractNodeList getJndiLinks()
public org.w3c.dom.Element getSessionConfig()
public org.w3c.dom.Element getDirectoryServlet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |