Re: Felix SCR - Single valued String array issue

2013-05-05 Thread Thomas Joseph
in, so you could use the bnd annotations as an > alternative: > > @Component(properties = { > "singletonProp:String=val1", // this is the default type > "singleElementListProp:List=val1", > "multiElementListProp:List=val1|val2|val3" > }) &

Re: Felix SCR - Single valued String array issue

2013-05-03 Thread Thomas Joseph
Sure! https://issues.apache.org/jira/browse/FELIX-4047 Thanks, Thomas Joseph On Fri, May 3, 2013 at 5:32 PM, Carsten Ziegeler wrote: > Ah, yes - you're right; I think you've hit a bug in the SCR plugin. With > cardinality or the unbounded property you influence the g

Re: OSGi and context classloader use-cases

2013-05-03 Thread Thomas Joseph
look at OSGi JDBC specifications. Thanks, Thomas Joseph On Fri, May 3, 2013 at 12:51 PM, Christopher BROWN wrote: > Hello, > > General question about context classloaders (as in > Thread.get/setContextClassLoader), with two use cases: > > * I need to create a bundle that has to i

Re: Felix SCR - Single valued String array issue

2013-05-03 Thread Thomas Joseph
ave a code sample somewhere, so that I can try it out? Thanks, Thomas Joseph On Fri, May 3, 2013 at 11:44 AM, Carsten Ziegeler wrote: > Hi, > > unfortunately, the java annotations do not distinguish between a single > value and an array, so it's impossible by looking at {&

Felix SCR - Single valued String array issue

2013-05-02 Thread Thomas Joseph
"; I Googled around but could not find anything conclusive. Am I missing something here? How can I get a String array without a workaround done above. -- Thanks, /Thomas Joseph

Re: iPOJO & Config Admin

2012-08-02 Thread Thomas Joseph
registered ManagedService for binding published properties by ConfigAdmin > to actual iPOJO Property declerations, and the other one will be your > ManagedService. > > Regards, > Gokturk > > On Thu, Aug 2, 2012 at 4:52 PM, Thomas Joseph > wrote: > > > Hello All, > &g

iPOJO & Config Admin

2012-08-02 Thread Thomas Joseph
t apart from getting the properties populated from the OSGi config, I would like to get a callback on the updated method with "all" the properties provided in the configuration and not just " property1". How can I achieve this? Any help would be appreciated.

Consuming xml for ConfigAdmin

2009-05-29 Thread Thomas Joseph
Guys, I want to consume xml data via ConfigAdmin. More specifically I want to read log4j.xml via ConfigAdmin and supply it to logging service (Pax Logging). Any good ConfiAdmin implementation that consumes xml? Any advice? -- Thanks and Regards, /Thomas Joseph LinkedIn: http