docs: public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException {
          super.initialize(mgr, lang, declaredBeans);
  
          // create a shell
          shell = new GroovyShell(mgr.getClassLoader());
  
          // register the mgr with object name "bsf"
          shell.setVariable("bsf", new BSFFunctions(mgr, this));
  
          int size = declaredBeans.size();
          for (int i = 0; i < size; i++) {
              declareBean((BSFDeclaredBean) declaredBeans.elementAt(i));
          }
      }