Dear Clojurians,

Is it possible to dynamically swap in a new classloader or give Clojure's
classloader a new parent classloader?

I'm embedding Clojure in a parent app, and the parent app has its own
classloader that keeps track of its own classpath. It gives my embedded
Clojure a pretty meager classpath such that I can't import anything without
add-classpath'ing first.

One option is to shuttle the parent classpath over to Clojure iteratively
using add-classpath. It would be better and more elegant, though, if I could
just link into the parent classloader directly.

I'm new to the nuts and bolts of classloaders, so forgive any misunderstands
in the above.

Thanks,
Garth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to