Class ResourceAdapterNode

  • All Implemented Interfaces:
    XMLNode

    public class ResourceAdapterNode
    extends RuntimeDescriptorNode
    This node handles the resource-adapter runtime deployment descriptors
    Version:
    Author:
    Jerome Dochez
    • Constructor Detail

      • ResourceAdapterNode

        public ResourceAdapterNode()
        Initialize the child handlers
    • Method Detail

      • setAttributeValue

        protected boolean setAttributeValue​(XMLElement elementName,
                                            XMLElement attributeName,
                                            String value)
        parsed an attribute of an element
        Overrides:
        setAttributeValue in class DeploymentDescriptorNode
        Parameters:
        the - element name
        the - attribute name
        the - attribute value
        Returns:
        true if the attribute was processed
      • writeDescriptor

        public Node writeDescriptor​(Node parent,
                                    String nodeName,
                                    ResourceAdapter descriptor)
        write the descriptor class to a DOM tree and return it
        Parameters:
        parent - node for the DOM tree
        node - name for the descriptor
        the - descriptor to write
        Returns:
        the DOM tree top node