Re: [equinox-dev] Declarative Services

2010-11-04 Thread Simon J Archer
While I've not used JNA, I agree that wrapping the native library call in a POJO/proxy that can be the DS component's implementation class would work well. Good idea Michael. From: Michael Mangeng m...@vis.at To: Equinox development mailing list equinox-dev@eclipse.org Date: 11/04/2010 08:42

Re: [equinox-dev] Declarative Services

2010-11-03 Thread Simon J Archer
Declarative Services (DS) is part of the OSGi specification. The specification has been implemented by Eclipse's Equinox project. The DS specification is typically implemented as one or more bundles, separately from the core OSGi framework, which is why it appears to be an Eclipse/Equinox

Re: [equinox-dev] enable/disable component event

2010-02-24 Thread Simon J Archer
Kane However, the implementation of equinox's ds indeed do the enabling operation in a work thread. This is how the OSGi spec requires the enableComponent method to behave: 112.5.1 Enabled ... The enableComponent and disableComponent methods must return after changing the enabled state of the

Re: [equinox-dev] Reg : Loading bundles to OSGI framwork

2009-04-06 Thread Simon J Archer
To load a bundle programmatically, use the BundleContext APIs: public Bundle installBundle(String); public Bundle installBundle(String, InputStream); Both APIs return a Bundle object, which you'll want to hold onto if you wish to be able to stop it at some time, but this is not absolutely

Re: [equinox-dev] Declarative Services exception

2008-07-24 Thread Simon J Archer
Hi Chris I would suggest installing the Equinox log service bundle org.eclipse.equinox.log. The SCR will log exceptions such as these to the LogService, if available. Since the LogService is purely a message-sink, you'll either have to add a LogListener to the LogReaderService to dump log

RE: [equinox-dev] Incubator request for Extensions/Services Integration work

2008-03-27 Thread Simon J Archer
+1 Sounds good, Jeff. Simon Jeff McAffer [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/27/2008 01:04 PM Please respond to Equinox development mailing list equinox-dev@eclipse.org To 'Equinox development mailing list' equinox-dev@eclipse.org cc Subject RE: [equinox-dev] Incubator

Re: [equinox-dev] Moving Service Activator Toolkit (SAT) from the Open Healthcare Framework (OHF) to Equinox

2007-09-26 Thread Simon J Archer
+1 for Patrick's proposal. Patrick Dempsey [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/26/2007 03:44 PM Please respond to Equinox development mailing list equinox-dev@eclipse.org To Equinox development mailing list equinox-dev@eclipse.org cc Subject [equinox-dev] Moving Service