On Wed, Apr 14, 2010 at 5:00 AM, Mahammad Nasir <[email protected]> wrote: > > Thanks, I think this will solve my problem wherever I have symbolic name. I > have some places I have only bundle physical name. Is there any otherways to > check based on physical name?...
The bundle filename you mean? There's Bundle.getLocation() but that does not change if the bundle is updated after being installed, see http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html#getLocation() - so you usually cannot rely on that. The Bundle-SymbolicName/Version combo is the only stable identifier AFAIK. -Bertrand --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

