SubjectFactory.loadTypes();
  private static void init() {    if (mgr == null) {      log.debug("Initializing source manager");      try {         mgr = SourceManager.getInstance();        log.debug("Initialized source manager: " + mgr);        Iterator iter = mgr.getSources().iterator();        while (iter.hasNext()) {          Source sa = (Source) iter.next();          sources.add(sa);          log.debug("Added source: " + sa);        }         cache = new SubjectCache();        log.info("Subject factory initialized");      } catch (Exception e) {        throw new RuntimeException(e); // TODO ???      }     }  }