question: private Map createLibrariesMap ( ServletContext context ) { HashMap library_map = new HashMap ( ) ; for ( Enumeration en = context . getInitParameterNames ( ) ; en . hasMoreElements ( ) ; ) { String s = ( String ) en . nextElement ( ) ; if ( s . startsWith ( LIBRARY_PREFIX ) ) { String libname = s . substring ( LIBRARY_PREFIX . length ( ) ) ; String path = getPath ( context , context . getInitParameter ( s ) ) ; if ( path != null ) { library_map . put ( libname , path ) ; } else { context . log ( "Excluding " + libname + " from database list, can't resolve path" ) ; } } } return Collections . unmodifiableMap ( library_map ) ; }
target:  Grovels through the ServletContext initialization parameters and creates a map from library name to library path.