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

Allow loading of URIs from classpath

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: