@Test public void testGetConfigManager() throws Exception { BootstrapProperties boot = new BootstrapProperties(createTestSample()); AdapterConfigManager mgr = boot.getConfigManager(); assertEquals(mgr, boot.getConfigManager()); }
public synchronized AdapterConfigManager getConfigManager() throws Exception { if (configManager == null) { configManager = (AdapterConfigManager) Class .forName(PropertyHelper.getPropertyIgnoringCase(this, CFG_KEY_CONFIG_MANAGER, DEFAULT_CONFIG_MANAGER)).newInstance(); configManager.configure(this); } return configManager; }
BootstrapProperties extends Properties { public synchronized AdapterConfigManager getConfigManager() throws Exception { if (configManager == null) { configManager = (AdapterConfigManager) Class .forName(PropertyHelper.getPropertyIgnoringCase(this, CFG_KEY_CONFIG_MANAGER, DEFAULT_CONFIG_MANAGER)).newInstance(); configManager.configure(this); } return configManager; } }
BootstrapProperties extends Properties { public synchronized AdapterConfigManager getConfigManager() throws Exception { if (configManager == null) { configManager = (AdapterConfigManager) Class .forName(PropertyHelper.getPropertyIgnoringCase(this, CFG_KEY_CONFIG_MANAGER, DEFAULT_CONFIG_MANAGER)).newInstance(); configManager.configure(this); } return configManager; } BootstrapProperties();  BootstrapProperties(String resourceName);  BootstrapProperties(Properties p); }
BootstrapProperties extends Properties { public synchronized AdapterConfigManager getConfigManager() throws Exception { if (configManager == null) { configManager = (AdapterConfigManager) Class .forName(PropertyHelper.getPropertyIgnoringCase(this, CFG_KEY_CONFIG_MANAGER, DEFAULT_CONFIG_MANAGER)).newInstance(); configManager.configure(this); } return configManager; } BootstrapProperties();  BootstrapProperties(String resourceName);  BootstrapProperties(Properties p); Long getProperty(String key, Long defaultValue); @Deprecated synchronized Adapter createAdapter(); InputStream getConfigurationStream(); String[] getConfigurationUrls(); @SuppressWarnings("deprecation") String findAdapterResource(); boolean isPrimaryUrlAvailable(); URLString getPrimaryUrl(); synchronized AdapterConfigManager getConfigManager(); void reconfigureLogging(); boolean isEnabled(String key); static boolean isEnabled(Properties p, String key); }
BootstrapProperties extends Properties { public synchronized AdapterConfigManager getConfigManager() throws Exception { if (configManager == null) { configManager = (AdapterConfigManager) Class .forName(PropertyHelper.getPropertyIgnoringCase(this, CFG_KEY_CONFIG_MANAGER, DEFAULT_CONFIG_MANAGER)).newInstance(); configManager.configure(this); } return configManager; } BootstrapProperties();  BootstrapProperties(String resourceName);  BootstrapProperties(Properties p); Long getProperty(String key, Long defaultValue); @Deprecated synchronized Adapter createAdapter(); InputStream getConfigurationStream(); String[] getConfigurationUrls(); @SuppressWarnings("deprecation") String findAdapterResource(); boolean isPrimaryUrlAvailable(); URLString getPrimaryUrl(); synchronized AdapterConfigManager getConfigManager(); void reconfigureLogging(); boolean isEnabled(String key); static boolean isEnabled(Properties p, String key);  }