From 061b09796a129759566d98b03616ff26344eb045 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Mon, 1 Aug 2011 22:48:59 +0200 Subject: [PATCH] more TODOs in the code. --- config/src/main/java/org/wamblee/xmlrouter/config/Config.java | 2 ++ impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java | 2 ++ .../org/wamblee/xmlrouter/impl/XMLRouterConfigService.java | 3 +++ 3 files changed, 7 insertions(+) diff --git a/config/src/main/java/org/wamblee/xmlrouter/config/Config.java b/config/src/main/java/org/wamblee/xmlrouter/config/Config.java index 39ecfae..b12210b 100644 --- a/config/src/main/java/org/wamblee/xmlrouter/config/Config.java +++ b/config/src/main/java/org/wamblee/xmlrouter/config/Config.java @@ -30,6 +30,8 @@ import org.wamblee.xmlrouter.common.Id; */ public interface Config extends Identifiable { + // TODO define what happens when there is a duplicate item. + /** * Adds an item. No item with the same id may exist. * diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java index ea44601..2f4d45b 100644 --- a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java @@ -40,6 +40,8 @@ import org.wamblee.xmlrouter.publish.Gateway; import org.wamblee.xmlrouter.subscribe.Destination; import org.wamblee.xmlrouter.subscribe.DestinationRegistry; +// TODO check intermediate types during transformation based on filters. + /** * The XML Router. * diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouterConfigService.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouterConfigService.java index c60e546..203e56f 100644 --- a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouterConfigService.java +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouterConfigService.java @@ -22,6 +22,9 @@ import org.wamblee.xmlrouter.config.Config; import org.wamblee.xmlrouter.config.RouterConfig; import org.wamblee.xmlrouter.config.RouterConfigService; +// TODO pass unique id of config service in the constructor to allow multiple instances with +// unique ids (ServiceFactory) + /** * Router configuration service providing an atomic configuration API for the * XML router. -- 2.31.1