Re: [osgi-dev] objectClass=org.osgi.service.component.ComponentFactory missing

2019-03-08 Thread Tim Ward via osgi-dev
This looks like a missing feature in bnd. When bnd spots that you have created 
a factory component in your bundle then it should mark the service as 
registered.

As a workaround you should be able to add a Capability annotation to the 
component in question marking that a ComponentFactory service will be created 
for it.

Best Regards,

Tim

> On 8 Mar 2019, at 09:20, Paul F Fraser via osgi-dev  
> wrote:
> 
> Hi,
> 
> The following resolve fail is occuring in my enRoute application bndrun, but 
> I think this service should be provided by felx scr (2.1.14)
> 
> Resolution failed. Capabilities satisfying the following requirements could 
> not be found:
> [<>]
>   ? osgi.identity: (osgi.identity=net.qnenet.site.qMainSiteImpl)
>   ? [net.qnenet.site.qMainSiteImpl version=0.0.1.201903080428]
>   ? osgi.service: 
> (objectClass=org.osgi.service.component.ComponentFactory)
> 
> Should I be looking somewhere else?
> 
> Paul Fraser
> 
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


[osgi-dev] objectClass=org.osgi.service.component.ComponentFactory missing

2019-03-08 Thread Paul F Fraser via osgi-dev

Hi,

The following resolve fail is occuring in my enRoute application bndrun, but I think this service 
should be provided by felx scr (2.1.14)


Resolution failed. Capabilities satisfying the following requirements could not 
be found:
    [<>]
  ? osgi.identity: (osgi.identity=net.qnenet.site.qMainSiteImpl)
  ? [net.qnenet.site.qMainSiteImpl version=0.0.1.201903080428]
  ? osgi.service: 
(objectClass=org.osgi.service.component.ComponentFactory)

Should I be looking somewhere else?

Paul Fraser

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev