class JythonScriptEngineService implements ScriptEngineService {

  @Override public List<Instrumenter> createInstrumenters()
    throws EngineException {

    final List<Instrumenter> instrumenters = new ArrayList<Instrumenter>();

    if (m_dcrContext != null) {
      if (instrumenters.size() == 0) {
        try {
          instrumenters.add(new Jython25Instrumenter(m_dcrContext));
        }
        catch (WeavingException e) {
          // Jython 2.5 not available, try Jython 2.1/2.2.
          instrumenters.add(new Jython22Instrumenter(m_dcrContext));
        }
      }
    }

    return instrumenters;
  }

  public  JythonScriptEngineService(GrinderProperties properties,
                                   DCRContext dcrContext,
                                   ScriptLocation scriptLocation);
  public  JythonScriptEngineService();

}