public boolean reinit(){
  Map<String,Integer> newEntryColourMap=buildEntryColourMap();
  if (newEntryColourMap == null || newEntryColourMap.size() < 1) {
    return false;
  }
  Map<String,EntryHierarchyData> newEntryHierarchyDataMap;
  try {
    newEntryHierarchyDataMap=entryHierarchyDataResourceReader.read(entryHierarchyDataResource);
  }
 catch (  IOException e) {
    LOGGER.warn("Problem reading entry hierarchy data resource: " + e.getMessage());
    return false;
  }
  if (newEntryHierarchyDataMap == null || newEntryHierarchyDataMap.size() < 1) {
    return false;
  }
  entryColourMap=newEntryColourMap;
  entryHierarchyDataMap=newEntryHierarchyDataMap;
  return true;
}

public boolean reinit ( ) { Map < String , Integer > newEntryColourMap = buildEntryColourMap ( ) ; if ( newEntryColourMap == null || newEntryColourMap . size ( ) < 1 ) { return false ; } Map < String , EntryHierarchyData > newEntryHierarchyDataMap ; try { newEntryHierarchyDataMap = entryHierarchyDataResourceReader . read ( entryHierarchyDataResource ) ; } catch ( IOException e ) { LOGGER . warn ( "Problem reading entry hierarchy data resource: " + e . getMessage ( ) ) ; return false ; } if ( newEntryHierarchyDataMap == null || newEntryHierarchyDataMap . size ( ) < 1 ) { return false ; } entryColourMap = newEntryColourMap ; entryHierarchyDataMap = newEntryHierarchyDataMap ; return true ; }
re - initialise the singleton whilst the application is running .
