now making sure that ids re prefixed by the config id.
[xmlrouter] / config / src / main / java / org / wamblee / xmlrouter / config / RouterConfigService.java
index 5fc7f2ed827373966cf6cc29cdea8cd5df4b9e2f..60eaa617584f925dfa8641607289df1a9388f6b0 100644 (file)
@@ -25,10 +25,13 @@ import org.wamblee.xmlrouter.common.Id;
  */
 public interface RouterConfigService {
 
+    // TODO must deal with conflicts with ids provided by applications and those
+    // used by the xmlrouter internally.
+
     /**
      * @return New empty configuration.
      */
-    RouterConfig emptyConfig();
+    RouterConfig emptyConfig(String aId);
 
     /**
      * Applies a given configuration.