Re: [osgi-dev] Query on resolving

2006-06-20 Thread BJ Hargrave
But a bundle does not need to be resolved at installation and probably 
shouldn't be.

For example if you are installing an application consisting of several 
bundles, you will need to get all the bundles installed before you try to 
resolve any of them since they may have package dependencies amongst 
themselves.

A framework implementation is free to resolve a bundle at any time after 
installation and before starting. The resolveBundles methods can be used 
to force a bundle or bundles to be resolved upon request.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]
Office: +1 407 849 9117 Mobile: +1 386 848 3788



kiran bharadwaj <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/21/2006 12:30 AM
Please respond to
OSGi Developer Mail List 


To
osgi-dev@bundles.osgi.org
cc

Subject
Re: [osgi-dev] Query on resolving






  If a bundle is automatically getting resolved when it is 
installed, then no need arises for this method. I am not saying resolving 
while starting, but resolving while installing. If resolution happens at 
the time of installation itself then there is no need for explicit methods 
like resolveBundles(). I still didnt understand who is going to use this 
method.
 
Regards,
Kiran Bharadwaj
 
 
 Sneak preview the all-new Yahoo.com. It's not radically different. Just 
radically better. ___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev


___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev


Re: [osgi-dev] Query on resolving

2006-06-20 Thread kiran bharadwaj
  If a bundle is automatically getting resolved when it is installed, then no need arises for this method. I am not saying resolving while starting, but resolving while installing. If resolution happens at the time of installation itself then there is no need for explicit methods like resolveBundles(). I still didnt understand who is going to use this method.     Regards,  Kiran Bharadwaj       
	
		Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 
___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev


Re: [osgi-dev] Query on resolving

2006-06-19 Thread Richard S. Hall
Bundles are automatically resolved sometime before they are started, but 
it depends on the framework precisely when this happens. There is no way 
to explicitly resolve a bundle other than trying to start it. In some 
cases you might only want to resolve the bundle, but not start it, so 
this new method makes that possible.

Ultimately, it is exposing a life cycle method that was previously hidden.

-> richard

kiran bharadwaj wrote:
> Hello All,
>
>I have a basic query regarding the osgi core framework.
> I actually didnt understand the reason for providing the 
> resolveBundles() method
> in the packageadmin. Whenever any bundle is getting installed arent the
> dependencies automatically resolved by the framework. If the
> dependencies are automatically being resolved I feel there is no need 
> for the method
> resolveBundles(). Please let me know your view about this.
>
> Thanks and Regards,
> Bharadwaj
>
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> 
>
> ___
> osgi-dev mailing list
> osgi-dev@bundles.osgi.org
> http://bundles.osgi.org/mailman/listinfo/osgi-dev
>   
___
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev