private final ParserConfiguration parserConfiguration;
@Inject public MvelScriptEngineService(Settings settings) {
super(settings);
parserConfiguration = new ParserConfiguration();
parserConfiguration.addPackageImport("java.util");
parserConfiguration.addPackageImport("org.elasticsearch.common.trove");
parserConfiguration.addPackageImport("org.elasticsearch.common.joda");
parserConfiguration.addImport("time", MVEL.getStaticMethod(System.class, "currentTimeMillis", new Class[0]));
// unboxed version of Math, better performance since conversion from boxed to unboxed my mvel is not needed