public static ManagedService startComponent( BundleContext context, String className, String idPropertyName, String idString, Object service, Properties serviceProperties){ return startComponent(context, new String[]{className}, idPropertyName, idString, service, serviceProperties); } public static ManagedService startComponent(
public static ManagedService startComponent( BundleContext context, String[] classNames, String idPropertyName, String idString, Object service, Properties serviceProperties){ if(idPropertyName != null){ if(serviceProperties == null){ serviceProperties = new Properties(); } serviceProperties.put(idPropertyName, idString); } return startComponent(context, classNames, service, serviceProperties); } public static ManagedService startComponent(BundleContext context,