Custom ClassLoader
Christian Stein <[email protected]> Sat, 12 Oct 2013 20:09:08 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAJi8+g50J-DAJRoZ=0retZZqXjzR-0qCSYgUHDYpygHNdxDAEA@mail.gmail.com> |
Hi everybody, I'm using Prevayler 2.6 and want to configure a custom class loader, especially for the JavaSerializer. As far as I can see, the PrevaylerFactory and the PrevaylerImpl aren't providing an easy way to set a custom class loader. Although http://jira.codehaus.org/browse/PRV-18 should have done it? Was the support removed along the way from 2.03 to 2.6? My temporary solution (read hack) is to provide an own JavaSerializer implementation, the uses the current thread context class loader instead of null, like the no-arg constructor does. Cheers, Christian ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org