Class ReadBindingSet

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ReadBindingSet
    extends java.lang.Object
    implements java.lang.Runnable
    Parses a binding xml and creates an in-memory BindingSet
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadBindingSet​(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,​java.util.Collection<StandardBindingSet>> bindingMap)
      Parses a binding xml and creates an in-memory BindingSet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected BindingItem createBindingItem​(org.w3c.dom.Element bindingItemElem, StandardBindingSet pBindingSet)  
      protected void parseBindingDocument​(org.w3c.dom.Document bindingDoc, java.lang.String fileName, java.util.Map<java.lang.String,​java.util.Collection<StandardBindingSet>> bindingMap)
      parses Binding DOM Document and puts BindigSet into Binding Map
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        protected final org.apache.logging.log4j.Logger log
      • bindingDoc

        protected org.w3c.dom.Document bindingDoc
      • fileName

        protected java.lang.String fileName
      • bindingMap

        protected java.util.Map<java.lang.String,​java.util.Collection<StandardBindingSet>> bindingMap
      • STARTUP_CHECK_TABLE_ALIAS

        protected static final java.lang.String STARTUP_CHECK_TABLE_ALIAS
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReadBindingSet

        public ReadBindingSet​(org.w3c.dom.Document bindingDoc,
                              java.lang.String fileName,
                              java.util.Map<java.lang.String,​java.util.Collection<StandardBindingSet>> bindingMap)
        Parses a binding xml and creates an in-memory BindingSet
        Parameters:
        bindingDoc -
        fileName -
        bindingMap -
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • parseBindingDocument

        protected void parseBindingDocument​(org.w3c.dom.Document bindingDoc,
                                            java.lang.String fileName,
                                            java.util.Map<java.lang.String,​java.util.Collection<StandardBindingSet>> bindingMap)
                                     throws javax.xml.xpath.XPathExpressionException,
                                            java.io.IOException,
                                            BindingException,
                                            java.lang.IllegalArgumentException,
                                            java.lang.SecurityException,
                                            java.lang.IllegalAccessException,
                                            java.lang.NoSuchFieldException,
                                            java.lang.ClassNotFoundException,
                                            org.w3c.dom.DOMException
        parses Binding DOM Document and puts BindigSet into Binding Map
        Parameters:
        bindingDoc -
        fileName -
        Throws:
        javax.xml.xpath.XPathExpressionException
        java.io.IOException
        BindingException
        java.lang.NoSuchFieldException
        java.lang.IllegalAccessException
        java.lang.SecurityException
        java.lang.IllegalArgumentException
        org.w3c.dom.DOMException
        java.lang.ClassNotFoundException
      • createBindingItem

        protected BindingItem createBindingItem​(org.w3c.dom.Element bindingItemElem,
                                                StandardBindingSet pBindingSet)
                                         throws java.io.IOException,
                                                java.lang.IllegalArgumentException,
                                                java.lang.SecurityException,
                                                java.lang.IllegalAccessException,
                                                java.lang.NoSuchFieldException
        Parameters:
        bindingItemElem -
        Returns:
        new BindingItem
        Throws:
        java.io.IOException
        java.lang.NoSuchFieldException
        java.lang.IllegalAccessException
        java.lang.SecurityException
        java.lang.IllegalArgumentException