Skip to main content



      Home
Home » Eclipse Projects » Equinox » Difference between Bundles and Management Bundles
Difference between Bundles and Management Bundles [message #68699] Wed, 21 June 2006 05:46 Go to next message
Eclipse UserFriend
Originally posted by: Hubert.Farnsworth.gmx.de

Hi,
this question might have already appeared, but I found no matching thread.

What is the difference between a simple Bundle and a Management Bundle
and how can I create a Management Bundle?
Management Bundles occured several times in the OSGi-Specs (I need one
to access the PermissionAdmin-Service), but I never figured out how to
create one.

Thanks for answering,
Holger



PS: anyone knows a good OSGi-Tutorial or Wiki?
Re: Difference between Bundles and Management Bundles [message #69653 is a reply to message #68699] Tue, 11 July 2006 22:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p.p.com

there was a good tutorial at eclipse con 2006 and the slides are available
online,

"Holger Lauinger" <Hubert.Farnsworth@gmx.de> wrote in message
news:e7b4gp$pk1$1@utils.eclipse.org...
> Hi,
> this question might have already appeared, but I found no matching thread.
>
> What is the difference between a simple Bundle and a Management Bundle
> and how can I create a Management Bundle?
> Management Bundles occured several times in the OSGi-Specs (I need one
> to access the PermissionAdmin-Service), but I never figured out how to
> create one.
>
> Thanks for answering,
> Holger
>
>
>
> PS: anyone knows a good OSGi-Tutorial or Wiki?
Re: Difference between Bundles and Management Bundles [message #69863 is a reply to message #68699] Thu, 13 July 2006 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Holger,

There is no fundamental difference between a management bundle and a
simple bundle. Each can use the features provided by the framework
(Import-Package, Export-Package, publish and use OSGi Services etc.).
The reason the OSGi specification makes a distinction on a management
bundle is because these types of bundles generally need a very high
level of permissions (in most cases AllPermissions is needed) than
normal bundles in order to perform operations that are considered to be
management operations. Such as
installing/starting/stopping/uninstalling bundles, using PermissonAdmin
Service, using PackageAdmin service, etc.

HTH

Tom
Re: Difference between Bundles and Management Bundles [message #70096 is a reply to message #69863] Mon, 17 July 2006 03:19 Go to previous message
Eclipse UserFriend
Originally posted by: Hubert.Farnsworth.gmx.de

Thank you Tom,

the reason I was asking is that in several parts of the documentation
there are references to Management Bundles in the form of "only a
Management Bundle can do that...". Therefor I assumend that there should
be a little more about it.

Happy Day,
Holger


Tom Watson schrieb:
> Hi Holger,
>
> There is no fundamental difference between a management bundle and a
> simple bundle. Each can use the features provided by the framework
> (Import-Package, Export-Package, publish and use OSGi Services etc.).
> The reason the OSGi specification makes a distinction on a management
> bundle is because these types of bundles generally need a very high
> level of permissions (in most cases AllPermissions is needed) than
> normal bundles in order to perform operations that are considered to be
> management operations. Such as
> installing/starting/stopping/uninstalling bundles, using PermissonAdmin
> Service, using PackageAdmin service, etc.
>
> HTH
>
> Tom
Previous Topic:Declarative services: how to set a property?
Next Topic:How to auto-startup a bundle in server-side?
Goto Forum:
  


Current Time: Mon Sep 01 02:30:57 EDT 2025

Powered by FUDForum. Page generated in 0.06074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top