@Override
    public GremlinScriptEngine getEngineByMimeType(final String mimeType) {
        if (!mimeToName.containsKey(mimeType))  {
            final GremlinScriptEngine engine = super.getEngineByMimeType(mimeType);
            registerLookUpInfo(engine, engine.getFactory().getEngineName());
            return engine;
        }

        return cache.get(mimeToName.get(mimeType));
    }
Gets a {@link GremlinScriptEngine} from cache or creates a new one from the {@link GremlinScriptEngineFactory}.
<p/>
{@inheritDoc}
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CachedGremlinScriptEngineManager.java