
public class WhovilleActivator implements BundleActivator
</BUG>
{
<BUG>private ExampleHostService hortonCommunicator;

public void start( BundleContext bundleContext ) throws Exception</BUG>
{
<BUG>hortonCommunicator = (ExampleHostService)bundleContext.getService( bundleContext.getServiceReference( ExampleHostService.class.toString()) );
System.out.println( "OSGi service consumer bundle started" );
}</BUG>
public void stop( BundleContext bundleContext ) throws Exception

package org.neo4j.server.osgi.bundles.consumer;
import org.neo4j.server.osgi.services.ExampleHostService;
import org.osgi.framework.*;
import org.osgi.util.tracker.ServiceTracker;
public class WhovilleActivator implements BundleActivator, ServiceListener
