use of ch.elexis.core.findings.IFindingsService in project elexis-server by elexis.
the class AllTests method getFindingsService.
public static IFindingsService getFindingsService() {
if (iFindingsService != null) {
return iFindingsService;
}
BundleContext bundleContext = FrameworkUtil.getBundle(AllTests.class).getBundleContext();
ServiceReference<IFindingsService> serviceReference = bundleContext.getServiceReference(IFindingsService.class);
if (serviceReference != null) {
iFindingsService = bundleContext.getService(serviceReference);
}
return iFindingsService;
}
Aggregations