added first version of configuraiton api and simple function test.
[xmlrouter] / impl / src / main / java / org / wamblee / xmlrouter / impl / XMLRouterConfiguration.java
index 51c8cc7b257074f259798150cf51bc674630fe05..25ae3313151cb70d2a7f6684ab231ce704f3e93a 100644 (file)
@@ -53,10 +53,18 @@ public interface XMLRouterConfiguration {
     /**
      * @return Configuration data.
      */
-    ExtendedRouterConfig routerConfig();
+    ExtendedRouterConfig getRouterConfig();
+
+    /**
+     * Sets the configuration and updates derived data.
+     * 
+     * @param aConfig
+     *            Configuration to set.
+     */
+    void setRouterConfig(ExtendedRouterConfig aConfig);
 
     /**
      * @return Transformation paths (derived data).
      */
-    TransformationPaths transformations();
+    TransformationPaths getTransformations();
 }