Class AppClientRuntimeNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<ApplicationClientDescriptor>
-
- 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, elementToNodeMappings
-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description AppClientRuntimeNode()
AppClientRuntimeNode(ApplicationClientDescriptor descriptor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDocType()
String
getSystemID()
List<String>
getSystemIDs()
protected XMLElement
getXMLRootTag()
protected void
init()
Initialize the child handlersstatic String
registerBundle(Map publicIDToDTD)
register this node as a root node capable of loading entire DD filesvoid
setElementValue(XMLElement element, String value)
receives notification of the value for a particular tagNode
writeDescriptor(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, getDispatchTable, getNodeMappings, getSpecVersion, recordNodeMapping, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo
-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
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, getRootNode, 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 classRuntimeBundleNode<ApplicationClientDescriptor>
-
registerBundle
public static String registerBundle(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 classDeploymentDescriptorNode<ApplicationClientDescriptor>
- Returns:
- the XML tag associated with this XMLNode
-
getDocType
public String getDocType()
- Returns:
- the DOCTYPE that should be written to the XML file
-
getSystemID
public String getSystemID()
- Returns:
- the SystemID of the XML file
-
writeDescriptor
public Node writeDescriptor(Node parent, ApplicationClientDescriptor bundleDescriptor)
write the descriptor class to a DOM tree and return it- Specified by:
writeDescriptor
in interfaceXMLNode<ApplicationClientDescriptor>
- Overrides:
writeDescriptor
in classDeploymentDescriptorNode<ApplicationClientDescriptor>
- Parameters:
parent
- node for the DOM treebundleDescriptor
- the descriptor to write- Returns:
- the DOM tree top node
-
setElementValue
public void setElementValue(XMLElement element, String value)
receives notification of the value for a particular tag- Specified by:
setElementValue
in interfaceXMLNode<ApplicationClientDescriptor>
- Overrides:
setElementValue
in classRuntimeBundleNode<ApplicationClientDescriptor>
- Parameters:
element
- the xml elementvalue
- it's associated value
-
-