public class ResinWebXml extends AbstractDescriptor implements VendorWebAppDescriptor
resin-web.xml
to provide convenience methods for easy access and manipulation.Constructor and Description |
---|
ResinWebXml(Document document)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addEjbReference(String name,
String jndiName)
Adds a ejb reference description to orion-web.xml.
|
Element |
getDirectoryServlet()
Get the directory servlet.
|
String |
getFileName()
Returns the file name of this descriptor.
|
AbstractNodeList |
getJndiLinks()
Get the jndi links.
|
AbstractNodeList |
getResourceRefs()
Get the resource references.
|
Element |
getSessionConfig()
Get the session config element.
|
AbstractNodeList |
getSystemProperties()
Get the system properties.
|
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 ResinWebXml(Document document)
document
- The DOM document representing the parsed deployment descriptorpublic void addEjbReference(String name, String jndiName)
addEjbReference
in interface VendorWebAppDescriptor
name
- name of the referencejndiName
- jndi name to mappublic String getFileName()
getFileName
in interface Descriptor
Descriptor.getFileName()
public AbstractNodeList getSystemProperties()
public AbstractNodeList getResourceRefs()
public AbstractNodeList getJndiLinks()
public Element getSessionConfig()
public Element getDirectoryServlet()
Copyright © 2004-2013 Codehaus. All Rights Reserved.