From 0db97b9f39c69528900f915dd2bb463c27debe39 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 31 Jul 2011 22:06:07 +0200 Subject: [PATCH] persistent ids some thoughts --- persistentids.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 persistentids.txt diff --git a/persistentids.txt b/persistentids.txt new file mode 100644 index 0000000..dc526d4 --- /dev/null +++ b/persistentids.txt @@ -0,0 +1,15 @@ + +document types, filters, and transformations should define their own persistent ids. + +Refactoring: +* Id should become a String type. +* Document type, filter, and transoformation should extend Identifiable interface which defines Id getId(); +* Id should be used in the config class to create the actual id. Id should no longer be returned. +* deal with duplicate ids (runtime exception). +* unique ids at the xmlrouter level based on RouterConfig id. + + +* add new interface with method updateConfig(RouterConfig) by which a service updates it's own part of the router config. +* add copying of the RouterConfig. +* efficiently check for modifications based on the id. + -- 2.31.1