ServiceUtil¶
-
public final class
ServiceUtil¶ The
ServiceUtilclass provides utility methods to work with services
Methods¶
getServiceForInterfaceName¶
-
public static <S> S
getServiceForInterfaceName(BundleContext bundleContext, String interfaceName)¶
getServiceFromAppContext¶
-
public static <S> MotechDataService<S>
getServiceFromAppContext(ApplicationContext applicationContext, Class<S> entityClass)¶
getServiceFromAppContext¶
-
public static <S> MotechDataService<S>
getServiceFromAppContext(ApplicationContext applicationContext, String entityClassName)¶