add dynamic service support for osgi services