question: public synchronized Map < String , Map < String , TungstenProperties > > loadClusterConfiguration ( ResourceType resourceType ) throws ConfigurationException { if ( getClusterHome ( ) == null ) { throw new ConfigurationException ( "No cluster.home found from which to configure cluster resources." ) ; } Map < String , Map < String , TungstenProperties > > clusterConfigurations = new HashMap < String , Map < String , TungstenProperties > > ( ) ; File cluster = getDir ( getClusterConfigRootDirName ( getClusterHome ( ) ) ) ; for ( File foundFile : cluster . listFiles ( ) ) { if ( foundFile . isDirectory ( ) ) { Map < String , TungstenProperties > clusterConfig = loadConfiguration ( foundFile . getName ( ) , resourceType ) ; clusterConfigurations . put ( foundFile . getName ( ) , clusterConfig ) ; } } return clusterConfigurations ; }
target:  Loads a set of resource configurations from the appropriate directory according to Tungsten resource conventions. The cluster directory hierarchy looks like this: {clusterHome}/cluster/{clusterName}/{resourceType}