Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.List;

import javax.script.ScriptEngineFactory;
import javax.script.ScriptEngineManager;

public class Main {
    public static void main(String[] args) {
        ScriptEngineManager mgr = new ScriptEngineManager();
        List<ScriptEngineFactory> factories = mgr.getEngineFactories();
        for (ScriptEngineFactory factory : factories) {
            System.out.println(String.format("engineName: %s, THREADING: %s", factory.getEngineName(),
                    factory.getParameter("THREADING")));
        }
    }
}