[mdr-users] MDRClassLoader is a singleton : problem when reloading
"Olivier RICHAUD" <[email protected]> Fri, 14 Oct 2005 11:19:24 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <000201c5d0a0$5eccc4f0$0a64a8c0@lauris> |
Hi all, I have an issue with relaoding the same model within MDR. For example, I have a class A and I change its internal structure. Although I create a new instance of NBMDRepository, the reload of that class will fail. Indeed, in BaseObjectHandler, the default class loader is a singleton which is not recreated, so that although I have a new instance of NBMDRepository, this doesn't help. One solution would be to attach the default class loader to an instance of NBMDRepository. Regards. Olivier