What if you have multiple versions of the same bundle deployed ? I guess we could do something like: osgi:update mybundle,2.0.0 myotherbundle 32 Most of those commands inherit from the same base class BundlesCommand, so it should be easy to use a List<String> instead of a List<Long> and find the bundles matching the ids / symbolicnames or symbolicname,version
On Wed, Jun 9, 2010 at 12:48, Charles Moulliard <[email protected]>wrote: > Hi, > > It should be interesting that we can update/stop/start an bundle using > the Bundle-symbolicName and not the id of the bundle which is not > necessarily know by people of a project when it is deployed on a > server managed by administration users. > > KR, > > Charles Moulliard > > Senior Enterprise Architect (J2EE, .NET, SOA) > Apache Camel/ServiceMix Committer > > ******************************************************************* > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com

