Hi,

Is it possible to propagate some properties of an iPOJO component instance without using annotations?

I would like to define the following XML configuration:
<ipojo>
<component className="..." name="A" />
<provides/>
</component>
<instance component="A">
<property name="service.exported.interfaces" value="*" />
<property name="service.exported.configs" value="..." />
<property name="service.exported.intents" value="..." />
</instance>
</ipojo>

It seems that the instance properties are not propagated to the service registration.

If the annotations "@Component(propagation=true)" and "@Provides" are added and if the <component> declaration is removed from the XML then it works.

I'm using iPOJO 1.8.0.

How can those properties, which are not declared in the component code, be propagated without using annotations?

Regards,
David



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to