com.sun.enterprise.deployment.node.runtime.connector
Class ConnectorNode
java.lang.Object
com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<ConnectorDescriptor>
com.sun.enterprise.deployment.node.runtime.connector.ConnectorNode
- All Implemented Interfaces:
- RootXMLNode<ConnectorDescriptor>, XMLNode<ConnectorDescriptor>
public class ConnectorNode
- extends RuntimeBundleNode<ConnectorDescriptor>
This node handles the sun-connector runtime deployment descriptors
- 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, setElementValue, 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 |
connector
protected SunConnector connector
ConnectorNode
public ConnectorNode(ConnectorDescriptor descriptor)
- Initialize the child handlers
addDescriptor
public void addDescriptor(java.lang.Object newDescriptor)
- Adds a new DOL descriptor instance to the descriptor instance
associated with this XMLNode
- Specified by:
addDescriptor in interface XMLNode<ConnectorDescriptor>- Overrides:
addDescriptor in class RuntimeBundleNode<ConnectorDescriptor>
- Parameters:
descriptor - the new descriptor
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.
getXMLRootTag
protected XMLElement getXMLRootTag()
- Overrides:
getXMLRootTag in class DeploymentDescriptorNode<ConnectorDescriptor>
- Returns:
- the XML tag associated with this XMLNode
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
getSunConnectorDescriptor
public SunConnector getSunConnectorDescriptor()
- Returns:
- the descriptor instance to associate with this XMLNode
getDescriptor
public ConnectorDescriptor getDescriptor()
- Specified by:
getDescriptor in interface XMLNode<ConnectorDescriptor>- Overrides:
getDescriptor in class RuntimeBundleNode<ConnectorDescriptor>
- Returns:
- the descriptor instance to associate with this XMLNode
writeDescriptor
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
java.lang.String nodeName,
ConnectorDescriptor connector)
- write the descriptor class to a DOM tree and return it
- Overrides:
writeDescriptor in class DeploymentDescriptorNode<ConnectorDescriptor>
- Parameters:
parent - node for the DOM treenode - name for the descriptorthe - descriptor to write
- Returns:
- the DOM tree top node
Copyright © 2012 GlassFish Community. All Rights Reserved.