[osgi-dev] Query

2016-11-02 Thread manoj.vrajamani
Hi All, · I have written a Service API ( with method getType() which simply returns a “serviceString” in this Interface) · I have written FOUR Service Providers (all implementing the above interface) · I am able to get the list these FOUR services with the following

[osgi-dev] OSGi DS access to @Reference service in JAX-RS (Jersey) Application resource

2016-11-02 Thread Tanvir
I have a REST resource class, say Employees, and I need access to another service using DS. Hence I have to make this call a component. Now objects instantiated by @component and JAX-RS Servlet are not same. I do not want to use static reference to the service as shown below. How this can

Re: [osgi-dev] OSGi enRoute Maven Testers wanted ...

2016-11-02 Thread Elliot Huntington
Certainly, I thought I did that in the original email. The link is: https://github.com/axiopisty/osgi-enroute-maven-tutorial. Is it not accessible? On Wed, Nov 2, 2016 at 1:31 AM, Peter Kriens wrote: > Can you share your workspace on Github? > > Kind regards, > > Peter

Re: [osgi-dev] Making sure some bundles are started first

2016-11-02 Thread Simon Chemouil
I thought about restarting bundles when I was first dealing with that issue and judged it was a bit extreme, yet ended up with forcing an early start. Considering start level an optimization is a nice way to solve the problem. I will try to find some time to make the necessary adjustments to

Re: [osgi-dev] Query

2016-11-02 Thread Peter Kriens
Look at the Javadoc of the returned Bundle object … there are a number of start() methods. Kind regards, Peter Kriens > On 2 nov. 2016, at 09:26, manoj.vrajam...@wipro.com wrote: > > Hi All, > > · I perform a bundleContext.installBundle(“x.jar”); > · I am able to

[osgi-dev] Query

2016-11-02 Thread manoj.vrajamani
Hi All, * I perform a bundleContext.installBundle("x.jar"); * I am able to install the bundle but this is in state 'Installed' * How do I move it to state 'Active' ? programmatically? ( I don't want to do it manually using the shell start ) Thanks, Manoj The

Re: [osgi-dev] OSGi enRoute Maven Testers wanted ...

2016-11-02 Thread Peter Kriens
Can you share your workspace on Github? Kind regards, Peter Kriens > On 2 nov. 2016, at 06:07, Elliot Huntington > wrote: > > I've been working through this tutorial tonight and everything works as > explained until I get to step 8: A Web Application.