Created
June 30, 2012 06:08
-
-
Save xumingming/3022563 to your computer and use it in GitHub Desktop.
extend class loader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gen-class | |
:name backtype.storm.classloader.ServerClassLoader | |
:prefix server- | |
:extends java.net.URLClassLoader | |
:constructors {["[Ljava.net.URL;"] ["[Ljava.net.URL;"] | |
["[Ljava.net.URL;" ClassLoader] ["[Ljava.net.URL;" ClassLoader]} | |
:init init) | |
(defn server-init | |
([^"[Ljava.net.URL;" urls] | |
[[urls] nil]) | |
([^"[Ljava.net.URL;" urls ^ClassLoader parent] | |
[[urls parent] nil])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment