public void start(final BundleContext context) throws Exception {
    this.context = context;
    this.processorFactoryServiceTracker = new ProcessorFactoryServiceTracker(
        context);
    this.processorFactoryServiceTracker.open();

    for (final Bundle bundle : context.getBundles()) {
      if (bundle.getState() == Bundle.INSTALLED
          || bundle.getState() == Bundle.RESOLVED
          || bundle.getState() == Bundle.ACTIVE) {
        checkSmallerBundle(bundle);
      }
    }
    context.addBundleListener(this);
  }
public void start ( final BundleContext context ) throws Exception { this . context = context ; this . processorFactoryServiceTracker = new ProcessorFactoryServiceTracker ( context ) ; this . processorFactoryServiceTracker . open ( ) ; for ( final Bundle bundle : context . getBundles ( ) ) { if ( bundle . getState ( ) == Bundle . INSTALLED || bundle . getState ( ) == Bundle . RESOLVED || bundle . getState ( ) == Bundle . ACTIVE ) { checkSmallerBundle ( bundle ) ; } } context . addBundleListener ( this ) ; }
@see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)