private void processFilesIntoServers ( ) throws LifecycleException { // Shutdown the outputwriters and clear the current server list - this gives us a clean // start when re-reading the json config files try { this . stopWriterAndClearMasterServerList ( ) ; } catch ( Exception e ) { log . error ( "Error while clearing master server list: " + e . getMessage ( ) , e ) ; throw new LifecycleException ( e ) ; } this . masterServersList = configurationParser . parseServers ( getProcessConfigFiles ( ) , configuration . isContinueOnJsonError ( ) ) ; }
Processes all the json files and manages the dedup process