]
Tristan Tarrant updated ISPN-12763:
-----------------------------------
Status: Open (was: New)
Allow loading of URIs from classpath
------------------------------------
Key: ISPN-12763
URL:
https://issues.redhat.com/browse/ISPN-12763
Project: Infinispan
Issue Type: Enhancement
Components: Hot Rod
Affects Versions: 12.0.1.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Priority: Major
Fix For: 12.1.0.Final
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