class loader in dependent plugins [message #289344] |
Wed, 03 August 2005 21:37 |
Eclipse User |
|
|
|
Originally posted by: sgollery.cadrc.calpoly.edu
I've wrapped a third-party library in a plugin and written an RCP app to
use it. It's working okay except for one issue that I'm hoping someone can
help me solve.
The library allows client programs to specialize some processing by
calling a method and passing the name of a class that is part of the
client. The library then instantiates that class whenever that type of
processing is being done. This works fine when using the library normally,
but as a plugin it fails with a ClassNotFoundException, apparently because
the bundle loader used for the plugin does not have access to the class
files for the application that is using the plugin.
Is there a solution for this that doesn't involve changing the code in the
library?
Thanks in advance,
Steve
|
|
|
Powered by
FUDForum. Page generated in 0.04145 seconds