Hi,
Do you know which class cannot be loaded ? Is it the instantiated
class, or a used class ?
To load the class, you must follow such kind of pattern:
void onBundleArrival(Bundle bundle, String header) {
String clazz = ... // Get the class to load from the header
Class theClass = bundle.loadClass(clazz);
// Create the object
Object obj = theClass.newInstance();
}
Regards,
Clement
On 05.05.2009, at 07:09, Triquoit Mathieu wrote:
Hi,
I have a module A which could be viewed as an Editor (with the GUI
etc). In
this module I have implemented the iPojo Extender Pattern for the Help
package in different language.
So, in each help package, I have in the manifest something like
<HelpExtension> which contains the class name to instanciate to
retrieve
some useful information...
My problem is that I can deploy the first extension... but with the
second
one, I have a ClassNotFoundException ? If I deploy the second
extension as
first extension, it is ok but for the other, ClassNotFoundException
again ?
Any idea ?
Thanks,
Regards,
Mathieu
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]