- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Make the scala Interpreter use a Java application's classloader?
I am trying to understand how one could use the Scala interpreter
for scripting inside a Java application that has its own plugin
mechanism, so that the Interpreter can access and make use of the
The Java application has its own class loader which is used to
access plugin classes and new classes might get accessible
at any time through that class loader.
So ... is there a way to make the Interpreter use one's own
classloader as the parent of the classloader it uses?
Or is there some other way to achieve the same result?