question: public static Properties load ( String basedir , boolean bServer ) throws Exception { if ( ! basedir . endsWith ( File . separator ) ) { basedir = basedir + File . separator ; } Properties prop = null ; String amConfigProperties = basedir + SetupConstants . AMCONFIG_PROPERTIES ; File file = new File ( amConfigProperties ) ; if ( file . exists ( ) ) { prop = new Properties ( ) ; InputStream propIn = new FileInputStream ( amConfigProperties ) ; try { prop . load ( propIn ) ; } finally { propIn . close ( ) ; } SystemProperties . initializeProperties ( prop ) ; } else { isBootstrap = true ; BootstrapData bData = new BootstrapData ( basedir ) ; prop = getConfiguration ( bData , true , bServer ) ; } return prop ; }
target:  Loads System Property with the bootstrap file that is found in a directory.