Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-15 Thread Leschke, Scott via osgi-dev
(depending on configuration) FileInstall will scan the file, create the configuration and the service will be instantiated. ps. I have just checked, the 'hack' still exists and is live Michael Am 13.12.2017 um 22:24 schrieb Leschke, Scott via osgi-dev <osgi-dev@mail.osgi.org<mailto:os

Re: [osgi-dev] Create instance of factory configuration at runtime

2017-12-13 Thread Leschke, Scott via osgi-dev
location binding (a “?”). My guess is that the two arg version will give you what you’re looking for. Tim Sent from my iPhone On 9 Dec 2017, at 00:36, Leschke, Scott via osgi-dev <osgi-dev@mail.osgi.org<mailto:osgi-dev@mail.osgi.org>> wrote: How does one create a new instance

[osgi-dev] Create instance of factory configuration at runtime

2017-12-08 Thread Leschke, Scott via osgi-dev
How does one create a new instance of a factory configuration programmatically? I thought it was like ConfigurationAdmin ca; ca.createFactoryConfiguration("my.configuration.pid").update(newServiceProps); but that doesn't seem to work for me. Thanks in advance, Scott

[osgi-dev] Regarding service injection

2018-04-26 Thread Leschke, Scott via osgi-dev
Question. When a service is created and activated, at what point is it available for lookup via the service registry, before or after the service is injected into services depending on it? I could see arguments for either? To clarify, if a service is created programmatically, and the new

Re: [osgi-dev] configurationPid vs factory identifier

2018-09-27 Thread Leschke, Scott via osgi-dev
.osgi.org On Behalf Of Leschke, Scott via osgi-dev Sent: Thursday, September 27, 2018 10:52 AM To: osgi-dev@mail.osgi.org Subject: [osgi-dev] configurationPid vs factory identifier How is the factory Identifier to be used in conjunction with configurationPid. I thought a factory identifier w

[osgi-dev] Search filter escaping

2019-05-09 Thread Leschke, Scott via osgi-dev
Just to confirm. Search filter values need to be escaped per RFC 2254. That would seem to make sense. Scott If a value should contain any of the following characters Character ASCII value --- * 0x2a

[osgi-dev] web.xml with HTTP whiteboard

2019-08-19 Thread Leschke, Scott via osgi-dev
In my application, I have a single servlet that uses HTTP Whiteboard. I still have a web.xml file because I never figured out how to specify either of the following for the application: * Display Name * Welcome File How are these two things to be dealt with in the spec? I

[osgi-dev] Recent comparison of OSGi and JPMS

2019-08-22 Thread Leschke, Scott via osgi-dev
Would anybody be able point me to a recent comparison of OSGi (R7 preferable) and JPMS (and Spring perhaps)? Regards, Scott Leschke Medline Industries Inc. ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] Recent comparison of OSGi and JPMS

2019-08-23 Thread Leschke, Scott via osgi-dev
2XI=EuWDYWDnkJ2xNVUWpLiSAeIoKuWcSiNM9QPdOkLoGD0=xHBt3-mZQqtKR_-aXP2CJubk_ppX7xH5LB8ussSzs7I=> - Todor Boev Software AG Common Platform -Original Message- From: "Leschke, Scott via osgi-dev" mailto:%22Leschke,%20scott%20via%20osgi-dev%22%20%3cosgi-...@mail.osgi.org%3e>> Rep

[osgi-dev] @ProviderType and @ConsumerType

2019-09-19 Thread Leschke, Scott via osgi-dev
The JavaDoc for org.osgi.annotation.versioning.ProviderType says: A package can be marked ProviderType. In this case, all types in the package are considered to be a provider type regardless of

[osgi-dev] @ConsumerType vs @ProviderType

2019-10-16 Thread Leschke, Scott via osgi-dev
I'm trying to wrap my head around these two annotations and I'm struggling a bit. Is the perspective of the provider and consumer roles from a bundle perspective or an application perspective? I've read the Semantic Versioning whitepaper a number of times and it doesn't really clear things up

Re: [osgi-dev] @ConsumerType vs @ProviderType

2019-10-23 Thread Leschke, Scott via osgi-dev
ackage** and not an interface. If you make a binary incompatible change, the key question is does it affect everybody (consumer and providers) or can I limit it to a smaller number of bundles (providers)? PK On 16 Oct 2019, at 21:15, Leschke, Scott via osgi-dev mailto:osgi-dev@mail.osgi.org>> wrote:

[osgi-dev] Regarding Transaction Control

2020-04-06 Thread Leschke, Scott via osgi-dev
I'd like to start using the Transaction Control service as my preferred JDBC mechanism over rather than java.sql.DataSource. it looks like the org.osgi.service.transcation.control-1.0.0.jar bundle depends on a pre-v2.0 javax.persistence version. Is this right or is that not the latest?

Re: [osgi-dev] Regarding Transaction Control

2020-04-21 Thread Leschke, Scott via osgi-dev
Thanks Tim, That was very helpful and as I remembered it. I had this working quite some time ago but shelved it because I decided to just wait for R7 support in Karaf. Decided to move ahead with this change but ended up grabbing the wrong jar file I guess because it wanted JPA even though I

Re: [osgi-dev] Regarding Transaction Control

2020-04-22 Thread Leschke, Scott via osgi-dev
eName= serverName=localhost portNumber=5432 user= password= dataSourceName=data_source_name Regards, Tim Jones ____ From: "Leschke, Scott via osgi-dev" mailto:osgi-dev@mail.osgi.org>> To: "Timothy Ward" mailto:tim.w...@paremus.com>>, &

[osgi-dev] OSGi Subsystem example?

2020-10-15 Thread Leschke, Scott via osgi-dev
Hi, Could somebody possibly point me to a detailed example of creating an OSGi Subsystem def for an application / features? Regards, Scott ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] Compendium services

2020-08-14 Thread Leschke, Scott via osgi-dev
I'm thinking this must be yes but do all compendium services have a reference implementation? Scott ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Compendium services

2020-08-17 Thread Leschke, Scott via osgi-dev
to be particularly fast or scalable. It will, however, definitely pass the compliance tests. Sent from my iPhone On 14 Aug 2020, at 23:14, Leschke, Scott via osgi-dev mailto:osgi-dev@mail.osgi.org>> wrote: I’m thinking this must be yes but do all compendium services have a reference implementation?