}
// FIXME
private ConfigResource getDefaultResource() {
try {
ConfigResource resource = new ConfigResource();
resource.setGlobal(ProfileServiceImpl.class.getClassLoader().getResource(
"META-INF/convention-default.properties"));
Enumeration<URL> em = ProfileServiceImpl.class.getClassLoader().getResources(
"META-INF/convention-route.properties");
while (em.hasMoreElements()) {
resource.getLocals().add(em.nextElement());
}
return resource;
} catch (IOException e) {
throw new RuntimeException(e);
}