; Thanks for the help. I appreciate the input.
>
> Regards,
>
> Scott
>
> -Original Message-
> From: David Jencks [mailto:david.a.jen...@gmail.com]
> Sent: Friday, February 23, 2018 5:14 PM
> To: user@karaf.apache.org
> Subject: Re: On another topic: Creating s
-
From: David Jencks [mailto:david.a.jen...@gmail.com]
Sent: Friday, February 23, 2018 5:14 PM
To: user@karaf.apache.org
Subject: Re: On another topic: Creating services programatically again
Nothing R7 is released yet, the specs aren’t final, so I doubt very much that
karaf implements any
e preferred approach.
>
> Scott
>
> -Original Message-
> From: Leschke, Scott [mailto:slesc...@medline.com]
> Sent: Friday, February 23, 2018 3:14 PM
> To: user@karaf.apache.org
> Subject: RE: On another topic: Creating services programatically again
>
> I sho
ConfigurationAdmin.createFactoryConfiguration would be the
preferred approach.
Scott
-Original Message-
From: Leschke, Scott [mailto:slesc...@medline.com]
Sent: Friday, February 23, 2018 3:14 PM
To: user@karaf.apache.org
Subject: RE: On another topic: Creating services programatically again
I should
of your choosing but that doesn't seem to be the case.
Scott
-Original Message-
From: David Jencks [mailto:david.a.jen...@gmail.com]
Sent: Friday, February 23, 2018 2:57 PM
To: user@karaf.apache.org
Subject: Re: On another topic: Creating services programatically again
I’m not sure what all
n to .cfg. I
>> need to do this so that I can save the configurations across Karaf installs.
>> My app hierarchy resides outside of the Karaf installation so this works
>> well. Unfortunately, the code I show below gives me two separate service
>> instances.
>>
>&
Friday, February 23, 2018 11:03 AM
> To: user@karaf.apache.org
> Subject: Re: On another topic: Creating services programatically again
>
> Rather than using a relatively low level api such as ManagedServiceFactory
> I’d suggest considering a ds component with configuration required and
Could you point me to the
> Decanter code as a reference?
>
> Thanks,
>
> Scott
>
> -Original Message-
> From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
> Sent: Thursday, February 22, 2018 9:53 PM
> To: user@karaf.apache.org
> Subject: Re: On anothe
ld you point me to the
> Decanter code as a reference?
>
> Thanks,
>
> Scott
>
> -Original Message-
> From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
> Sent: Thursday, February 22, 2018 9:53 PM
> To: user@karaf.apache.org
> Subject: Re: On another topic: Creat
>
> Scott
>
> -Original Message-
> From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
> Sent: Thursday, February 22, 2018 9:38 PM
> To: user@karaf.apache.org
> Subject: Re: On another topic: Creating services programatically again
>
> Hi Scott,
>
&
ssage-
> From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
> Sent: Thursday, February 22, 2018 9:38 PM
> To: user@karaf.apache.org
> Subject: Re: On another topic: Creating services programatically again
>
> Hi Scott,
>
> why don't use a managed service factory ?
>
&g
value without actually having a service instance or
hard-coding them?
Scott
-Original Message-
From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net]
Sent: Thursday, February 22, 2018 9:38 PM
To: user@karaf.apache.org
Subject: Re: On another topic: Creating services programatically again
Hi Scott,
why don't use a managed service factory ?
It would automatically create a service based on a cfg. So for your user, he
creates the cfg file, and then, automatically, the corresponding service is
created.
Thoughts ?
Regards
JB
On 02/22/2018 09:18 PM, Leschke, Scott wrote:
> As I
13 matches
Mail list logo