Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Fun with Jetty classloading

I'm using Jetty 9, embedded, and would like to have webapps use a custom classloader.

It's easy to set the classloader on a WebAppContext, but I'm also using WebAppProvider to scan a directory, and that class lacks the .setClassLoader() method. Should I just subclass WebAppProvider and override createContextHandler() to add my own classloader? Or is there an easier way?



Back to the top