def fetch_dependencies(jar_list)
      jar_list.each do |jar|
        logger.debug "Loading Jar File:#{jar}"
        begin
          require jar
        rescue Exception => exc
          logger.error "Failed to Load Jar File:#{jar}", exc
        end
      end if jar_list

      require 'jms/mq_workaround'
      require 'jms/imports'
      require 'jms/message_listener_impl'
      require 'jms/message'
      require 'jms/text_message'
      require 'jms/map_message'
      require 'jms/bytes_message'
      require 'jms/object_message'
      require 'jms/session'
      require 'jms/message_consumer'
      require 'jms/message_producer'
      require 'jms/queue_browser'
    end
def fetch_dependencies(jar_list)
      jar_list.each do |jar|
        logger.debug "Loading Jar File:#{jar}"
        begin
          require jar
        rescue Exception => exc
          logger.error "Failed to Load Jar File:#{jar}", exc
        end
      end if jar_list

      require 'jms/mq_workaround'
      require 'jms/imports'
      require 'jms/message_listener_impl'
      require 'jms/message'
      require 'jms/text_message'
      require 'jms/map_message'
      require 'jms/bytes_message'
      require 'jms/object_message'
      require 'jms/session'
      require 'jms/message_consumer'
      require 'jms/message_producer'
      require 'jms/queue_browser'
    end
Load the required jar files for this JMS Provider and
 load JRuby extensions for those classes

 Rather than copying the JMS jar files into the JRuby lib, load them
 on demand. JRuby JMS extensions are only loaded once the jar files have been
 loaded.

 Can be called multiple times if required, although it would not be performant
 to do so regularly.

 Parameter: jar_list is an Array of the path and filenames to jar files
                     to load for this JMS Provider

 Returns nil