Class WLWebServicesDescriptorNode

  • All Implemented Interfaces:
    BundleNode, RootXMLNode, XMLNode

    @Service
    public class WLWebServicesDescriptorNode
    extends AbstractBundleNode
    Node representing weblogic-webservices root element in weblogic-webservices.xml
    Author:
    Rama Pulavarthi
    • Constructor Detail

      • WLWebServicesDescriptorNode

        public WLWebServicesDescriptorNode()
    • Method Detail

      • getDocType

        public String getDocType()
        Returns:
        the DOCTYPE of the XML file
      • getSystemID

        public String getSystemID()
        Returns:
        the SystemID of the XML file
      • getSystemIDs

        public List<String> getSystemIDs()
        Returns:
        the list of SystemID of the XML schema supported
      • registerBundle

        public String registerBundle​(Map<String,​String> publicIDToSystemIDMapping)
        Description copied from interface: BundleNode
        Registers the standard bundle node in the map.

        The implementation class must add to the map an entry with the key equal to the public ID of the DTD and the value the system ID.

        Parameters:
        publicIDToSystemIDMapping - map prepared by the caller
        Returns:
        top-level element name for the standard descriptor
      • registerRuntimeBundle

        public Map<String,​Class<?>> registerRuntimeBundle​(Map<String,​String> publicIDToDTD,
                                                                Map<String,​List<Class<?>>> versionUpgrades)
        Description copied from interface: BundleNode
        Registers all appropriate runtime bundle nodes for this standard node into the map.

        The implementation class must add to the map one entry for each associated runtime descriptor node, with the entry key equal to the public ID of the runtime DTD and the value the system ID of the runtime DTD. The implementation must also return a map containing one entry for each associated runtime node, with the entry key equal to the top-level element name for the runtime descriptor and the entry value equal to the class of the runtime node.

        versionUpgrades - The list of upgrades from older versions to the latest schema
        Returns:
        map from top-level runtime descriptor element name to the corresponding runtime node class
      • getHandlerFor

        public XMLNode getHandlerFor​(XMLElement element)
        Description copied from interface: XMLNode
        Return the XMLNode implementation respionsible for handling the sub-element of the current node
        Specified by:
        getHandlerFor in interface XMLNode
        Overrides:
        getHandlerFor in class DeploymentDescriptorNode
        Parameters:
        element - the XML element type name
        Returns:
        the handler registered for the subtag element of the curent XMLNode
      • getSpecVersion

        public String getSpecVersion()
        Returns:
        the default spec version level this node complies to