|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<Application>
com.sun.enterprise.deployment.node.runtime.application.ApplicationRuntimeNode
public class ApplicationRuntimeNode
This node handles all runtime-information pertinent to applications The reading needs to be backward compatible with J2EE 1.2 and 1.3 where all runtime information was saved at the .ear file level in an unique sun-ri.xml file. In J2EE 1.4, each sub archivist is responsible for saving its runtime-info at his level.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode |
|---|
descriptor |
| Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
|---|
abstractDescriptor, handlers, localStrings, parentNode |
| Constructor Summary | |
|---|---|
ApplicationRuntimeNode(Application descriptor)
|
|
| Method Summary | |
|---|---|
void |
addDescriptor(java.lang.Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode |
protected java.util.Map |
getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value. |
java.lang.String |
getDocType()
|
java.lang.String |
getSystemID()
|
java.util.List<java.lang.String> |
getSystemIDs()
|
protected XMLElement |
getXMLRootTag()
|
protected void |
Init()
Initialize the child handlers |
static java.lang.String |
registerBundle(java.util.Map publicIDToDTD)
register this node as a root node capable of loading entire DD files |
void |
setElementValue(XMLElement element,
java.lang.String value)
receives notification of the value for a particular tag |
org.w3c.dom.Node |
writeDescriptor(org.w3c.dom.Node parent,
java.lang.String nodeName,
Application application)
write the descriptor class to a DOM tree and return it |
| Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode |
|---|
appendChildNS, getDescriptor, getSpecVersion, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.deployment.node.XMLNode |
|---|
addPrefixMapping, endElement, getHandlerFor, getParentNode, getXMLPath, handlesElement, resolvePrefix, startElement, writeDescriptor |
| Constructor Detail |
|---|
public ApplicationRuntimeNode(Application descriptor)
| Method Detail |
|---|
protected void Init()
Init in class RuntimeBundleNode<Application>public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
publicIDToDTD - is a mapping between xml Public-ID to DTD
protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<Application>public java.lang.String getDocType()
public java.lang.String getSystemID()
public java.util.List<java.lang.String> getSystemIDs()
protected java.util.Map getDispatchTable()
getDispatchTable in class DeploymentDescriptorNode<Application>
public void setElementValue(XMLElement element,
java.lang.String value)
setElementValue in interface XMLNode<Application>setElementValue in class DeploymentDescriptorNode<Application>element - the xml elementvalue - it's associated valuepublic void addDescriptor(java.lang.Object newDescriptor)
addDescriptor in interface XMLNode<Application>addDescriptor in class RuntimeBundleNode<Application>mewDescriptor - the new descriptor
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
java.lang.String nodeName,
Application application)
writeDescriptor in class DeploymentDescriptorNode<Application>parent - node for the DOM treenodeName - the node namedescriptor - the descriptor to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||