The rabbit hole goes deeper. Now we can configure the client with a custom

classloader to use when unserializing objects off the network. Also fixed
the way custom classloaders were used as Class.forName(class, true,
loader) seems to be the proper way to go to have caching work and whatnot.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3268 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-12-10 01:23:44 +00:00
parent f16beaa0a1
commit c92a922678
4 changed files with 49 additions and 5 deletions
@@ -114,7 +114,8 @@ public class PlaceRegistry
try {
// load up the manager class
Class pmgrClass = loader.loadClass(config.getManagerClassName());
Class pmgrClass = Class.forName(
config.getManagerClassName(), true, loader);
// create a place manager for this place
pmgr = (PlaceManager)pmgrClass.newInstance();
// let the pmgr know about us and its configuration