[osgi-dev] Are Service-to-service dependencies expressed by DS?

2011-01-03 Thread Michael Köndling
H. Cervantes and R.S. Hall write in Beanome: A Component Model for the OSGi Framework http://www.humbertocervantes.net/papers/VIVIAN2002.pdf that there are three types of dependencies in OSGi: Bundle-to-package Bundle-to-service Service-to-service I understand that the article was written in

Re: [osgi-dev] Are Service-to-service dependencies expressed by DS?

2011-01-03 Thread Neil Bartlett
DS principally defines *components*. A component can depend on a service by declaring a reference element in its XML descriptor (or if you're using the cool Bnd annotations, an @Reference annotation in the Java source). In addition a component can itself provide a service, using the service

Re: [osgi-dev] Are Service-to-service dependencies expressed by DS?

2011-01-03 Thread Richard S. Hall
On 1/3/11 13:54, Michael Köndling wrote: H. Cervantes and R.S. Hall write in Beanome: A Component Model for the OSGi Framework http://www.humbertocervantes.net/papers/VIVIAN2002.pdf that there are three types of dependencies in OSGi: Bundle-to-package Bundle-to-service Service-to-service I

Re: [osgi-dev] Are Service-to-service dependencies expressed by DS?

2011-01-03 Thread Richard S. Hall
On 1/3/11 14:02, Neil Bartlett wrote: DS principally defines *components*. A component can depend on a service by declaring areference element in its XML descriptor (or if you're using the cool Bnd annotations, an @Reference annotation in the Java source). In addition a component can itself