On 18 June 2010 17:53, Mahammad Nasir <mahammadna...@huawei.com> wrote:
> Hi All, > > I am bit confused about uniquness of bundle symbolic name. > > What is unque in OSGI is that bundle name or Bundle symbolic name.? This > means, i have to change the symbolic name or bundle name if i have to load > same bundle with different version? > > Basically i wanted to know what is unique is OSGI and How it is guaranteed > in case of same bundle with diffrent version is loaded? > > Or is that BundleName + Version is Unique? > from the OSGi spec (section 3.5.2) "The bundle symbolic name and bundle version allow a bundle to be uniquely identified in the Framework. That is, a bundle with a given symbolic name and version is treated as equal to another bundle with the same (case sensitive) symbolic name and exact version." the Bundle-Name is a more readable name and is not used when comparing bundles Nasir > -- Cheers, Stuart