public void removeExtension(String extensionKey) {
        if (!extensionKey.isEmpty()) {
            extensionMap.remove(extensionKey);
        }
    }
Abstract Holder class to retrieve added extensions and store them in a map.
modules/siddhi-core/src/main/java/io/siddhi/core/util/extension/holder/AbstractExtensionHolder.java