Ikuo Yamasaki wrote:
Hi, OSGi Experts

It seems to me that, in OSGi, it would  be important to decouple a
service object and the service properties when registering a service in
order to increasie re-usability of components by adopting some
declarative ways.

I wonder if it is possible to set service properties when registering a
service using Declarative Service (and to filter a service using service
properties LDAP fiter when getting a service). As far as I read the spec,
it is not possible.

How about in the case using iPOJO ?

I am not sure if I totally understand the question, do you want the component to set the properties or for them to be set externally. For the external case, as BJ said, the component properties can be used to set them externally, which is true for DS or iPOJO. For the internal case, you can do this in iPOJO too, with service properties.

-> richard

Best regards,

---------------------
NTT Cyber Solutions Laboratories

     Ikuo YAMASAKI
        E-mail: [EMAIL PROTECTED]
TEL +81-46-859-8537 FAX +81-46-855-1282

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to