static Optional<ExecutableCompiledScriptFactory> findExecutableCompiledScriptFactory() {
        return ServiceLoader.load(ExecutableCompiledScriptFactory.class)
            .stream()
            .map(ServiceLoader.Provider::get)
            .findFirst();
    }
Find executable compiled script factory.

@return the optional
api/cas-server-core-api-scripting/src/main/java/org/apereo/cas/util/scripting/ExecutableCompiledScriptFactory.java