Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12763

Allow loading of URIs from classpath

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 12.1.0.Final
    • 12.0.1.Final
    • Hot Rod
    • None

      When passing configuration_uri in properties, we should provide a way to load resources from the classpath.
      Since the JDK doesn't have a comfortable URL handler for classpath, we should do the following:

      • if the URI is relative (i.e. it doesn't provide a protocol), attempt to load the resource from the system classloader and TCCL.
      • provide a URLStreamHandlerFactory which handles the classpath: protocol

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: