Adding persistable contributions to Extensionregistry [message #496800] |
Wed, 11 November 2009 12:21 |
|
HI,
I need to add persistable contributions to the ExtensionRegistry. I digged in a little and found the method addContribution(..) in Extensionregistry. But to enable persistence it expects a mastertoken as the last parameter. Except reflection I could not find a way to get the master token.
Is there a way around for such a problem.
Thanks,
Suraj Chandran
Huawei Telecomunications.
Bangalore, India
[Updated on: Fri, 13 November 2009 05:05] Report message to a moderator
|
|
|
|
Re: Adding persistable contributions to Extensionregistry [message #496900 is a reply to message #496870] |
Wed, 11 November 2009 16:44 |
|
Thanks Paul for active response,
Actually we have a huge framework(in fact twice as big as eclipse in code size) that we are integrating with Equinox. Now we had plugin architecture too but they are custom plugins not standard OSGI format. Some time back we integrated extension registry in the framework, so we had created our ExtensionRegistry object and hence had the reference for the master-token. But now we are integrating the framework with eclipse so instead of creating our own ExtensionRegistry object we now are adding the contributions to the equinox's registry, but as we don't have the master token, its not persistable.
This is creating a huge startup performance issue for us.
Is there a way around this problem. I google around and found that others are facing similar problem too.
Thanks,
Suraj Chandran
Huawei Telecomunications.
Bangalore, India
[Updated on: Fri, 13 November 2009 05:05] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04042 seconds