Use the custom class loader, though the way MiCasa works, the custom class

loader approach can't work. But it's useful to set a proper example.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3256 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-11-30 20:06:36 +00:00
parent 3ed8e3cd0e
commit d04e068d9b
@@ -1,5 +1,5 @@
//
// $Id: LobbyConfig.java,v 1.8 2004/08/27 02:12:50 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -64,7 +64,7 @@ public class LobbyConfig extends PlaceConfig
public GameConfig getGameConfig ()
throws Exception
{
return (GameConfig)Class.forName(_gameConfigClass).newInstance();
return (GameConfig)_loader.loadClass(_gameConfigClass).newInstance();
}
/**