@Test public void testGetConfigurationClassDefaultURI() throws ConfigurationException, URISyntaxException { Configuration config = ServiceConfig.getConfiguration(getClass()); URI defaultURI = new URI("file: assertEquals(defaultURI, config.getURI("uriXX", defaultURI)); }
public static Configuration getConfiguration(Class<?> clazz) throws ConfigurationException { String className = clazz.getName(); _log.info("Class name is " + className); return getConfiguration(className); }
ServiceConfig { public static Configuration getConfiguration(Class<?> clazz) throws ConfigurationException { String className = clazz.getName(); _log.info("Class name is " + className); return getConfiguration(className); } }
ServiceConfig { public static Configuration getConfiguration(Class<?> clazz) throws ConfigurationException { String className = clazz.getName(); _log.info("Class name is " + className); return getConfiguration(className); } private  ServiceConfig(); }
ServiceConfig { public static Configuration getConfiguration(Class<?> clazz) throws ConfigurationException { String className = clazz.getName(); _log.info("Class name is " + className); return getConfiguration(className); } private  ServiceConfig(); static Configuration getConfiguration(Class<?> clazz); static Configuration getConfiguration(String basename); static Configuration getConfiguration(File properties); }
ServiceConfig { public static Configuration getConfiguration(Class<?> clazz) throws ConfigurationException { String className = clazz.getName(); _log.info("Class name is " + className); return getConfiguration(className); } private  ServiceConfig(); static Configuration getConfiguration(Class<?> clazz); static Configuration getConfiguration(String basename); static Configuration getConfiguration(File properties);  }