com.sun.enterprise.deployment.node.runtime
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
| 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 |
AppClientRuntimeNode
public AppClientRuntimeNode(ApplicationClientDescriptor descriptor)
AppClientRuntimeNode
public AppClientRuntimeNode()
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 treethe - 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 elementvalue - it's associated value
Copyright © 2012 GlassFish Community. All Rights Reserved.