class OSGIServiceLoader implements BundleListener {

    @Override
    public void bundleChanged(BundleEvent bundleEvent) {
        // Parse and createObject metadata when installed
        Bundle bundle = bundleEvent.getBundle();
        if (bundleEvent.getType() == BundleEvent.STARTED) {
            checkAndLoadBundle(bundle);
        } else if (bundleEvent.getType() == BundleEvent.STOPPED) {
            checkAndUnloadBundle(bundle);
        }
    }

    public  OSGIServiceLoader(BundleContext context);

}