Re: Clojure runtime instance in java process

2010-11-21 Thread Anton Dorozhkin
Thank you for your response. Everything is static in RT and Compiler classes, so different ClassLoaders looks like to be the only solution. Anton. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegro

Clojure runtime instance in java process

2010-11-21 Thread Anton Dorozhkin
Hello, Is there way you use several clojure runtime instances in one Java process? // Thread 1 RT.loadResourceScript("script1"); RT.var("user", "function").invoke(); // Thread 2 RT.loadResourceScript("script2"); //