First version after introduction of meaningful ids and Identifiable interface.
[xmlrouter] / config / src / main / java / org / wamblee / xmlrouter / config / RouterConfig.java
index 9e53f4995929d585f42889929902e32407fdea72..14622508f06e6fc65303c6b45a3465f0f3c89418 100644 (file)
  */
 package org.wamblee.xmlrouter.config;
 
-
 /**
  * Configuration API for the XML router.
  * 
  * @author Erik Brakkee
  */
-public interface RouterConfig {
-
-    // Documents
-
-    Config<DocumentType> getDocumentTypeConfig();
-
-    // Transformations
-
-    Config<Transformation> getTransformationConfig();
-
-    // Filters
-
-    Config<Filter> getFilterConfig();
+public interface RouterConfig extends Identifiable<RouterConfig> {
+
+    /**
+     * @return Document types.
+     */
+    Config<DocumentType> documentTypeConfig();
+
+    /**
+     * @return Transformations.
+     */
+    Config<Transformation> transformationConfig();
+
+    /**
+     * @return Filters.
+     */
+    Config<Filter> filterConfig();
 }