code: public static void registerOsgiScriptEngineManager(BundleContext context) {
          OSGiScriptEngineManager scriptEngineManager = new OSGiScriptEngineManager(context);
          ScriptEngineManagerContext.setScriptEngineManager(scriptEngineManager);
  
          if (LOGGER.isFinestEnabled()) {
              LOGGER.finest(scriptEngineManager.printScriptEngines());
          }
      }
docs: This method is used to register available script engines in OSGi contexts.<br/>
  <b>Attention:</b> This method is not unused but only called via reflective calls!
  
  @param context BundleContext to bind the ScriptEngineManager to