public static Object loadExtensionImplementation(Extension extension,
                                                     AbstractExtensionHolder extensionHolder) {
        Class clazz = extensionHolder.getExtension(extension.getNamespace(), extension.getName());
        if (clazz == null) {
            throw new ExtensionNotFoundException("No extension exist for " + extension.getNamespace() + ":" +
                    extension.getName(), true);
        }
        try {
            return SiddhiClassLoader.loadClass(clazz);
        } catch (CannotLoadClassException e) {
            throw new SiddhiAppCreationException("Extension " + clazz.getName() + " cannot be loaded!", true);

        }
    }
used to load classes required for Siddhi extensions.
modules/siddhi-core/src/main/java/io/siddhi/core/util/SiddhiClassLoader.java