Allow the class loader to which we fall back to be configured in an

already created resource manager. Due to the way the Handler stuff is set
up, only the first resource manager ever created in a JVM will be wired up
to handle resource: URLs and thus we have to be careful to only ever
create one resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3499 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-04-17 19:57:07 +00:00
parent 3b947af265
commit 967f99b60c
@@ -372,6 +372,15 @@ public class ResourceManager
return _loader;
}
/**
* Configures the class loader this manager should use to load
* resources if/when there are no bundles from which to load them.
*/
public void setClassLoader (ClassLoader loader)
{
_loader = loader;
}
/**
* Fetches a resource from the local repository.
*