Invoker

Although it is not possible to modify dynamically the classpath, Invoker lets you to bypass the problem by calling the protected addURL method of the ClassLoader. Using reflection features, this class allows you in fact to call all protected and private methods of any class.

More information

See the javadoc to get more information, a full example, and see how easy it is to use!
You can also have a quick look at the source.

Downloads

Download the Invoker class and the javadoc (14.7 Ko)




Valid XHTML 1.0!