void loadAllExtensions(BundleContext bundleContext) {
            for (Bundle b : bundleContext.getBundles()) {
                if (b.getState() == Bundle.ACTIVE) {
                    addExtensions(b);
                }
            }
        }
Class to listen to Bundle changes to update available extensions.
modules/siddhi-core/src/main/java/io/siddhi/core/util/SiddhiExtensionLoader.java