Change exported packages at runtime [message #69172] |
Thu, 29 June 2006 04:18  |
Eclipse User |
|
|
|
Hi all,
I wondered if there is a way to (re)define the exported packages of a
bundle at runtime?
My usecase: I've installed a ClassLoadingHook that sets a subclass of
DefaultClassLoader for a certain bundle. This classloader will load
classes and resources remotely from a J2EE server if not found by the
parent implementation. This is done in the findLocal* methods.
It works if I add the packages coming from the server at designtime to
the manifest (although PDE reports errors), but these can change any
time and I dont want to maintain them manually (even without PDE's
help). I have a list of packages coming from the server. Can I
reinitialize the exported packages of a bundle?
Best regards
Alex
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13470 seconds