code: @Override
    public void inject(Class<?> klass) throws DataException, ServiceException {
  
      // loads function def table from annotated class
      ScriptExtensions extensions = new ScriptProxy(klass);
  
      // load func def table and set parent to the default script context
      ScriptContext defaultScriptContext = (ScriptContext) AppObjectRepository.getObject("DefaultScriptContext");
      extensions.load(defaultScriptContext);
  
      // register these extensions
      defaultScriptContext.registerExtension(extensions);
    }
docs: {@inheritDoc}