Re: Application using Karaf - problems with packages not being exported by default configuration

2016-08-25 Thread thully
Our users are just using maven-bundle-plugin. Whenever they've tried depending directly on projects that depend Xerces and use Embed-Dependencies as they would for any other dependency they want to embed, the resulting bundle does not load properly. What do they need to do differently due to Xerces

Karaf 4.0.5 bundle startup order

2016-08-25 Thread oski_bear
Hello, I'm a long-time user of Karaf 2.4.0 trying to migrate my application to Karaf 4.0.5. One thing I've noticed is that in this new version of Karaf there doesn't seem to be any way to specify the order in which bundles are ordered. For example, if I specify "bootFeatures" in the karaf-maven-pl

Re: Retrieve SCR factory component properties

2016-08-25 Thread Alex Soto
Looks like the factory property “service.bundleid” contains the id of the bundle declaring the factory component. I am not sure if this is part of the standard, but seems to be working for me. Best regards, Alex soto > On Aug 25, 2016, at 12:24 PM, Alex Soto wrote: > > Hello, > > I need t

Retrieve SCR factory component properties

2016-08-25 Thread Alex Soto
Hello, I need to do introspection on the properties of a factory SCR component defined in another bundle. The component is declared with annotation: @Component(factory = “my-factory”, property = “path=abc") I was able to look up and obtain access to its factory instance (org.osgi.service.com