Class Descriptor

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

    public class Descriptor
    extends org.xml.sax.helpers.DefaultHandler
    Instance of this class handles parsing of the xml descriptor files. It also retrieves values of the named attributes of the named elements.
    • Constructor Summary

      Constructors 
      Constructor Description
      Descriptor​(java.lang.String filePath)
      Constructor responsible for parsing the descriptor file named in filePath.
    • Constructor Detail

      • Descriptor

        public Descriptor​(java.lang.String filePath)
        Constructor responsible for parsing the descriptor file named in filePath.
        Parameters:
        filePath - Fully qualified path the xml descriptor.
    • Method Detail

      • startElement

        public void startElement​(java.lang.String uri,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 org.xml.sax.Attributes attribs)
        Specified by:
        startElement in interface org.xml.sax.ContentHandler
        Overrides:
        startElement in class org.xml.sax.helpers.DefaultHandler
      • getThreadPoolMaxSize

        public int getThreadPoolMaxSize()
      • setThreadPoolMaxSize

        public void setThreadPoolMaxSize​(int threadPoolMaxSize)
      • getThreadPoolMinSize

        public int getThreadPoolMinSize()
      • setThreadPoolMinSize

        public void setThreadPoolMinSize​(int threadPoolMinSize)
      • getInstanceCount

        public int getInstanceCount()
        Returns the instanceCount.
        Returns:
        int
      • getResourceSpecifierPath

        public java.lang.String getResourceSpecifierPath()
        Returns the resourceSpecifierPath.
        Returns:
        String
      • getServiceName

        public java.lang.String getServiceName()
        Returns the serviceName.
        Returns:
        String
      • setInstanceCount

        public void setInstanceCount​(int instanceCount)
        Sets the instanceCount.
        Parameters:
        instanceCount - The instanceCount to set
      • setResourceSpecifierPath

        public void setResourceSpecifierPath​(java.lang.String resourceSpecifierPath)
        Sets the resourceSpecifierPath.
        Parameters:
        resourceSpecifierPath - The resourceSpecifierPath to set
      • setServiceName

        public void setServiceName​(java.lang.String serviceName)
        Sets the serviceName.
        Parameters:
        serviceName - The serviceName to set
      • getFilterString

        public java.lang.String getFilterString()
        Returns the filterString.
        Returns:
        String
      • setFilterString

        public void setFilterString​(java.lang.String filterString)
        Sets the filterString.
        Parameters:
        filterString - The filterString to set
      • getNamingServiceHost

        public java.lang.String getNamingServiceHost()
      • setNamingServiceHost

        public void setNamingServiceHost​(java.lang.String namingServiceHost)
      • getServerSocketTimeout

        public int getServerSocketTimeout()
      • setServerSocketTimeout

        public void setServerSocketTimeout​(int serverSocketTimeout)