
package com.streamsets.pipeline.stage.processor.groovy;

import com.google.common.collect.ImmutableList;

import javax.inject.Named;
import javax.inject.Singleton;
import java.util.List;

@Named("groovy-sdc-indy")
@Singleton
public class StreamSetsGroovyIndyScriptEngineFactory extends StreamSetsGroovyScriptEngineFactory {
  private static final List<String> NAMES = ImmutableList.of("groovy-sdc-indy");

  @Override
  public boolean useInvokeDynamic() {
    return true;
  }

  @Override
  public List<String> getNames() {
    return NAMES;
  }
}
