MasterCL

- Release -


 
..:: Binaries ::..

The binary is here: MasterCL.jar (February 16, 2004) The license is LGPL 2.0.

To use it, just include it in your class path. Then early in the program (usually the first line of the main method) just invoke:
chrriis.lang.MasterCL.plug();
Once this is done, the classes of the class path will be loaded first.

I noticed that this works better by creating a class containing the main(), calling the plug() method at the begining and then calling the real static main() method.

Additionaly, you can get the instance of the specific class loader by invoking:
chrriis.lang.MasterCL.getInstance();

And when you have the instance (not null if it was plugged) you can invoke some additional methods:
- addURL(URL url): adds a URL, a path where classes should be loaded from.
- addURLs(URL[] urls): adds several URLs.
- findBootstrapClass: get a class that should have been loaded instead of a custom class.

 
Web site designed by Christopher Deckers
Any questions, suggestions, job offers at