ConfigurationManager { public NameConfiguration getNameConfiguration() { return loader.getConf().getSystemConfiguration().getNameConfiguration(); } ConfigurationManager(); static void postLoad(Configuration conf); synchronized void reloadConfiguration(); Configuration getConfiguration(); synchronized void saveConfiguration(); ArchiveSynchronizationCronConfiguration getArchiveSynchronizationCronConfiguration(); CleanDatabaseCronConfiguration getCleanDatabaseCronConfiguration(); DumpDatabaseCronConfiguration getDumpDatabaseCronConfiguration(); CleanDatabaseDumpCronConfiguration getCleanDatabaseDumpCronConfiguration(); FileScannersCronConfiguration getFileScannersCronConfiguration(); SearchesCronConfiguration getSearchesCronConfiguration(); SendLogsCronConfiguration getSendLogsCronConfiguration(); SystemCheckCronConfiguration getSystemCheckCronConfiguration(); JmsConfiguration getJmsConfiguration(); MailConfiguration getMailConfiguration(); NetworkConfiguration getNetworkConfiguration(); DownloadConfiguration getDownloadConfiguration(); ProductConfiguration getProductConfiguration(); SolrType getSolrType(); SolrConfiguration getSolrConfiguration(); SolrStandaloneConfiguration getSolrStandaloneConfiguration(); SolrCloudConfiguration getSolrCloudConfiguration(); OdataConfiguration getOdataConfiguration(); GeonameConfiguration getGeonameConfiguration(); GeocoderConfiguration getGeocoderConfiguration(); NominatimConfiguration getNominatimConfiguration(); ServerConfiguration getServerConfiguration(); ArchiveConfiguration getArchiveConfiguration(); TomcatConfiguration getTomcatConfiguration(); SupportConfiguration getSupportConfiguration(); AdministratorConfiguration getAdministratorConfiguration(); NameConfiguration getNameConfiguration(); ProcessingConfiguration getProcessingConfiguration(); List<DataStoreConf> getDataStoresConf(); DatabaseConfiguration getDatabaseConfiguration(); ExecutorConfiguration getExecutorConfiguration(); String getWorkingDirectoryPath(); String getJDBCDriver(); String getJDBCUrl(); String getLogin(); String getPassword(); String getHibernateDialect(); DataStoreManager getDataStoreManager(); ScannerManager getScannerManager(); SourceManager getSourceManager(); SynchronizerManager getSynchronizerManager(); EvictionManager getEvictionManager(); String getTrashPath(); String getErrorPath();  }
@Test public void testgetNameConfiguration() { Assert.assertNotNull(configurationManager.getNameConfiguration()); Assert.assertEquals(configurationManager.getNameConfiguration().getLongName(), "Data Hub Service"); Assert.assertEquals(configurationManager.getNameConfiguration().getShortName(), "DHuS"); }