
Originally Posted by
Noctarius
That way it would be possible but I don't really like the idea of using a bootstrapping mechanism different from Springs standard one.
I'd still regard this bootstrapping mechanism as a standard one - just one designed for more complex requirements.

Originally Posted by
Noctarius
PS: Is there a way to tell Spring not to use the standard BeanClassLoader (Launcher.AppClassLoader for example) but a different one which becomes instantiated before Spring bootstraps itself?
You could use the thread context class loader.
Code:
ClassLoader existingClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(classLoader);
try {
//instantiate app context
} finally {
Thread.currentThread().setContextClassLoader(existingClassLoader);
}
Phil Zoio
Impala - simple dynamic modules for Spring
http://www.impalaframework.org/
http://impalablog.blogspot.com/