Provides access methods to the current team's class path.
The class path in a typical VM is used to specify where to find the class
files on the local file system, however, in the JanosVM we're trying to
simulate multiple JVMs so a single class path for all of the teams might be
insufficient. For example, a user might want to have access to a standard
and debugging build of their classes or a more paranoid user might want a
team to have no class path to make sure it can't gain access to anything
outside of its sandbox. Whatever the case may be, per-team class paths help
maintain the illusion of multiple JVMs running in a single instance of the
JanosVM.
The current implementation of the resource simply takes the class path as
determined at startup and uses it as the global path from which each team
can select a subset of paths. Then when a team is created you can create a
ClassPathSpec with an array of strings containing the paths that the
team should have access too or just use the default of everything in the
global path.
To Do
The internals provide many functions for adding and removing paths from the
per-team paths, however, these haven't been
exported to the java level.
This documentation is Copyright (C) 2000-2002 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions. Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/ Generated on Mar 17, 2002