|Configuration bundles for ManagedServiceFactory [message #559911]
||Mon, 20 September 2010 10:56
Registered: September 2010
I have successfully deployed a configuration bundle for a ManagedService by simply naming the properties file according to the Managed Service's service.pid property.
However, for a Managed Service Factory, it is totally unclear to me how to provide the properties for the separate instances the service factory is supposed to create.
I have tried to use a properties file name pattern as used by the file deployer Apache Felix uses, i.e.
However, this did not have the intended effect. When I use Virgo's server console I can examine the config bundles and see that several corresponding configurations have been created but neither one of them has their factory pid set. Thus, when I deploy a bundle using Spring DM's support for <osgix:managed-service-factory> the services never get instantiated.
I also have not found any example for configuring ManagedServiceFactory with Virgo anywhere.
Powered by FUDForum
. Page generated in 0.04656 seconds