@Override
        public void bundleChanged(BundleEvent bundleEvent) {
            if (bundleEvent.getType() == BundleEvent.STARTED) {
                addExtensions(bundleEvent.getBundle());
            } else {
                removeExtensions(bundleEvent.getBundle());
            }
        }
Class to listen to Bundle changes to update available extensions.
modules/siddhi-core/src/main/java/io/siddhi/core/util/SiddhiExtensionLoader.java