public void start(BundleContext bundleContext) throws Exception {

        Properties props = new Properties();
        props.put("description", "An SLF4J LogService implementation.");
        ServiceFactory factory = new LogServiceFactory();
        bundleContext.registerService(LogService.class.getName(), factory, props);
    }
public void start ( BundleContext bundleContext ) throws Exception { Properties props = new Properties ( ) ; props . put ( "description" , "An SLF4J LogService implementation." ) ; ServiceFactory factory = new LogServiceFactory ( ) ; bundleContext . registerService ( LogService . class . getName ( ) , factory , props ) ; }
Implements <code>BundleActivator.start()</code> to register a
LogServiceFactory.

@param bundleContext the framework context for the bundle
@throws Exception