com.sun.enterprise.deployment.node.runtime
Class AppClientRuntimeNode

java.lang.Object
  extended by com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
      extended by com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<ApplicationClientDescriptor>
          extended by com.sun.enterprise.deployment.node.runtime.AppClientRuntimeNode
All Implemented Interfaces:
RootXMLNode<ApplicationClientDescriptor>, XMLNode<ApplicationClientDescriptor>
Direct Known Subclasses:
GFAppClientRuntimeNode

public class AppClientRuntimeNode
extends RuntimeBundleNode<ApplicationClientDescriptor>

This node is responsible for saving all J2EE RI runtime information for app clients

Version:
Author:
Jerome Dochez

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
AppClientRuntimeNode()
           
AppClientRuntimeNode(ApplicationClientDescriptor descriptor)
           
 
Method Summary
 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, ApplicationClientDescriptor bundleDescriptor)
          write the descriptor class to a DOM tree and return it
 
Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode
addDescriptor, appendChildNS, getDescriptor, getSpecVersion, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo
 
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeAroundInvokeDescriptors, writeAroundTimeoutDescriptors, writeDataSourceDefinitionDescriptors, writeDescriptor, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writePostActivateDescriptors, writePostConstructDescriptors, writePreDestroyDescriptors, writePrePassivateDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors
 
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
 

Constructor Detail

AppClientRuntimeNode

public AppClientRuntimeNode(ApplicationClientDescriptor descriptor)

AppClientRuntimeNode

public AppClientRuntimeNode()
Method Detail

Init

protected void Init()
Initialize the child handlers

Overrides:
Init in class RuntimeBundleNode<ApplicationClientDescriptor>

registerBundle

public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
register this node as a root node capable of loading entire DD files

Parameters:
publicIDToDTD - is a mapping between xml Public-ID to DTD
Returns:
the doctype tag name

getXMLRootTag

protected XMLElement getXMLRootTag()
Overrides:
getXMLRootTag in class DeploymentDescriptorNode<ApplicationClientDescriptor>
Returns:
the XML tag associated with this XMLNode

getDocType

public java.lang.String getDocType()
Returns:
the DOCTYPE that should be written to the XML file

getSystemID

public java.lang.String getSystemID()
Returns:
the SystemID of the XML file

getSystemIDs

public java.util.List<java.lang.String> getSystemIDs()
Returns:
NULL for all runtime nodes.

writeDescriptor

public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
                                        ApplicationClientDescriptor bundleDescriptor)
write the descriptor class to a DOM tree and return it

Specified by:
writeDescriptor in interface XMLNode<ApplicationClientDescriptor>
Overrides:
writeDescriptor in class DeploymentDescriptorNode<ApplicationClientDescriptor>
Parameters:
parent - node for the DOM tree
the - descriptor to write
Returns:
the DOM tree top node

setElementValue

public void setElementValue(XMLElement element,
                            java.lang.String value)
receives notification of the value for a particular tag

Specified by:
setElementValue in interface XMLNode<ApplicationClientDescriptor>
Overrides:
setElementValue in class DeploymentDescriptorNode<ApplicationClientDescriptor>
Parameters:
element - the xml element
value - it's associated value


Copyright © 2012 GlassFish Community. All Rights Reserved.