tds/src/main/java/thredds/core/ConfigCatalogInitialization.java
public synchronized void init(ReadMode readMode, PreferencesExt prefs) {
    if (readMode == null)
      readMode = defaultReadMode;
    this.prefs = prefs;
    trackerNumber = prefs.getLong("trackerNumber", 1);
    numberCatalogs = prefs.getInt("numberCatalogs", 10);
    nextCatId = prefs.getLong("nextCatId", 1);

    makeDebugActions();
    this.contentRootPath = this.tdsContext.getThreddsDirectory();
    this.contextPath = tdsContext.getContextPath();

    reread(readMode, true);
  }
public synchronized void init(ReadMode readMode, PreferencesExt prefs) {
    if (readMode == null)
      readMode = defaultReadMode;
    this.prefs = prefs;
    trackerNumber = prefs.getLong("trackerNumber", 1);
    numberCatalogs = prefs.getInt("numberCatalogs", 10);
    nextCatId = prefs.getLong("nextCatId", 1);

    makeDebugActions();
    this.contentRootPath = this.tdsContext.getThreddsDirectory();
    this.contextPath = tdsContext.getContextPath();

    reread(readMode, true);
  }
public synchronized void init ( ReadMode readMode , PreferencesExt prefs ) { if ( readMode == null ) readMode = defaultReadMode ; this . prefs = prefs ; trackerNumber = prefs . getLong ( "trackerNumber" , 1 ) ; numberCatalogs = prefs . getInt ( "numberCatalogs" , 10 ) ; nextCatId = prefs . getLong ( "nextCatId" , 1 ) ; makeDebugActions ( ) ; this . contentRootPath = this . tdsContext . getThreddsDirectory ( ) ; this . contextPath = tdsContext . getContextPath ( ) ; reread ( readMode , true ) ; }
called from TdsInit on spring-managed auto-wired bean
called from TdsInit on spring - managed auto - wired bean