I'd like to embed a GroovyConsole into an existing java app for design prototyping and debugging purposes.
I'd really like this console to have access to my entire program--mostly this means that any singletons or factories should return the actual object, not create a new one just for the GroovyConsole's world.
Is there any way to do this, or do I have to manually pass all the objects in one by one using setVariable() calls?