How to use the registry with straight osgi? [message #75060] |
Wed, 18 October 2006 13:07 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: wbeckwith.gmail.com
Are there any docs or examples that can demonstrate how to do this? I
have a project that I would normally just used the RCP runtime but
because of size contraints, I hoping we can stick to the plugin model by
using osgi and the equinox registry. I'm just at a loss as to how to
get started using them together.
Wb
|
|
|
Re: How to use the registry with straight osgi? [message #75105 is a reply to message #75060] |
Thu, 19 October 2006 18:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: simon.kaegi.cognos.com
For an example of the registry use at just the service level you might take
a look at org.eclipse.equinox.http.registry.
HTH
-Simon
"Wendell Beckwith" <wbeckwith@gmail.com> wrote in message
news:eh58ue$bg6$1@utils.eclipse.org...
> Are there any docs or examples that can demonstrate how to do this? I
> have a project that I would normally just used the RCP runtime but because
> of size contraints, I hoping we can stick to the plugin model by using
> osgi and the equinox registry. I'm just at a loss as to how to get
> started using them together.
>
> Wb
|
|
|
Re: How to use the registry with straight osgi? [message #75305 is a reply to message #75105] |
Tue, 24 October 2006 15:23 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Oleg Besedin![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=obesedin%40ca.ibm.com) Messages: 41 Registered: July 2009 |
Member |
|
|
Hi Wendell,
In addition, if you need just a "simple" extension registry you can look at
the JUnits from the org.eclipse.core.tests.internal.registry.simple package
in the org.eclipse.core.tests.runtime bundle. The "simple" registry can be
run without OSGi, but its functionality is simplified :-). For more details,
see RegistryStrategy, RegistryStrategyOSGI, and EquinoxRegistryStrategy.
To use Eclipse registry without Eclipse, you'll need
org.eclipse.equinox.registry bundle and it's dependents including
org.eclipse.core.jobs. The org.eclipse.equinox.registry, once activated,
creates default registry which can be accessed via
RegistryFactory.getRegistry() or via IExtensionRegistry service. The default
registry is shutdown on the org.eclipse.equinox.registry shutdown.
One other thing you'll need to consider is how you are going to fill the
registry. In Eclipse this is done by processing bundle events from the
update configurator (org.eclipse.update.configurator).
Thanks,
Oleg
"Simon Kaegi" <simon.kaegi@cognos.com> wrote in message
news:eh8hl8$v8g$1@utils.eclipse.org...
> For an example of the registry use at just the service level you might
> take a look at org.eclipse.equinox.http.registry.
> HTH
> -Simon
>
> "Wendell Beckwith" <wbeckwith@gmail.com> wrote in message
> news:eh58ue$bg6$1@utils.eclipse.org...
>> Are there any docs or examples that can demonstrate how to do this? I
>> have a project that I would normally just used the RCP runtime but
>> because of size contraints, I hoping we can stick to the plugin model by
>> using osgi and the equinox registry. I'm just at a loss as to how to get
>> started using them together.
>>
>> Wb
>
>
|
|
|
Re: How to use the registry with straight osgi? [message #75521 is a reply to message #75305] |
Wed, 25 October 2006 02:20 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jeff_mcaffer.REMOVE.ca.ibm.com
Is there a web/wiki page somewhere that I can read about the different
ways to use the registry?
Jeff
Oleg Besedin wrote:
> Hi Wendell,
> In addition, if you need just a "simple" extension registry you can look at
> the JUnits from the org.eclipse.core.tests.internal.registry.simple package
> in the org.eclipse.core.tests.runtime bundle. The "simple" registry can be
> run without OSGi, but its functionality is simplified :-). For more details,
> see RegistryStrategy, RegistryStrategyOSGI, and EquinoxRegistryStrategy.
>
> To use Eclipse registry without Eclipse, you'll need
> org.eclipse.equinox.registry bundle and it's dependents including
> org.eclipse.core.jobs. The org.eclipse.equinox.registry, once activated,
> creates default registry which can be accessed via
> RegistryFactory.getRegistry() or via IExtensionRegistry service. The default
> registry is shutdown on the org.eclipse.equinox.registry shutdown.
>
> One other thing you'll need to consider is how you are going to fill the
> registry. In Eclipse this is done by processing bundle events from the
> update configurator (org.eclipse.update.configurator).
>
> Thanks,
> Oleg
>
>
> "Simon Kaegi" <simon.kaegi@cognos.com> wrote in message
> news:eh8hl8$v8g$1@utils.eclipse.org...
>> For an example of the registry use at just the service level you might
>> take a look at org.eclipse.equinox.http.registry.
>> HTH
>> -Simon
>>
>> "Wendell Beckwith" <wbeckwith@gmail.com> wrote in message
>> news:eh58ue$bg6$1@utils.eclipse.org...
>>> Are there any docs or examples that can demonstrate how to do this? I
>>> have a project that I would normally just used the RCP runtime but
>>> because of size contraints, I hoping we can stick to the plugin model by
>>> using osgi and the equinox registry. I'm just at a loss as to how to get
>>> started using them together.
>>>
>>> Wb
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03078 seconds