Hi All, Before C5, we had a method "getOSGiService(Class clazz, Hashtable<String, String> props) to retrieve an OSGi service[1]. In latest C5, I couldn't find any similar feature in [2].
What is the correct way to retrieve an OSGi service in C5? Or do we need to get it through directly from a "ServiceTracker" ? [1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/context/CarbonContext.java#L322 [2] https://github.com/wso2/carbon-kernel/blob/master/core/src/main/java/org/wso2/carbon/kernel/context/PrivilegedCarbonContext.java -- With Regards, *Rasika Perera* Software Engineer M: +94 71 680 9060 E: [email protected] LinkedIn: http://lk.linkedin.com/in/rasika90 WSO2 Inc. www.wso2.com lean.enterprise.middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
