In Spring DM 1.2 is there any way to configure service properties on a managed service factory so they are applied to each service that is registered? Something like this:
I've added an <osgi:service-properties> element here, but this is not valid. Is there any way to achieve this?
<osgix:managed-service-factory factory-pid="my.pid" interface="my.Service" update-strategy="container-managed"> <osgi:service-properties> <entry key="prop1" value="val1"/> </osgi:service-properties> <bean class="my.impl.ServiceImpl"/> </osgix:managed-service-factory>