Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] How to call the start method of an osgi application?

Hi Thomas,
I meant the method which should be invoked to start the application. This method is defined inside the application itself and its not bundle.start() method.
I invoked that method inside an Activator class of that bundle and it worked.
Thanks a lot for the response.
Regards,
PJ


On Fri, Apr 12, 2013 at 6:42 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:

I do not understand what you mean by the start() method.  Is this a start method on the Bundle object or some other start() method you defined in your application?  Your SO post indicates the use of hibernation and seems to involve the use of ServiceLoader.  You may need to have a look at the new EEG Service Loader Mediator specification [1]

Tom

[1] - http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html



Inactive hide details for Prasad Jeewantha ---04/12/2013 01:12:55 AM---Hi all, I want to start my equinox osgi application by cPrasad Jeewantha ---04/12/2013 01:12:55 AM---Hi all, I want to start my equinox osgi application by calling the start() method

From: Prasad Jeewantha <jeewamp.dev@xxxxxxxxx>
To: equinox-dev@xxxxxxxxxxx,
Date: 04/12/2013 01:12 AM
Subject: [equinox-dev] How to call the start method of an osgi application?
Sent by: equinox-dev-bounces@xxxxxxxxxxx





Hi all,
I want to start my equinox osgi application by calling the start() method which is in one of the bundles. This method should be called after all the bundles are started. When I try to call that method from the bootstrap class, it gives an error saying some class is not found in the bootstrap classpath. Please tell me the best way to start my application.
Please see my SO question.
http://stackoverflow.com/q/15964061/1411653
Any help is highly appreciated.
Thanks,
PJ
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


GIF image


Back to the top