funcatron.tron.routers.jar-router
build-classloader-from-file
(build-classloader-from-file the-file)
Spring Boot does some gnarly stuff with classloading out of an uber-jar of its own
making... so we need to see if we've got a Spring Boot style jar and build a classloader
based on that JAR. It's a huge hack, but Spring is a huge deal... so...
build-router
(build-router file properties)
(build-router file properties reply?)
Take a JAR file (as a File or String) and create a Router
jar-info-from-file
(jar-info-from-file item)
Take a file object and turn it into a combo classloader and JarFile
make-app
(make-app the-jar)
wrap-response
(wrap-response handler)
A ring handler that wraps the response with appropriate stuff