- * To be called before the configuration is updated. Corresponds to write
- * lock acquire.
- */
- void startConfigurationChange();
-
- /**
- * To be called after the configuration is updated. Corresponds to write
- * lock acquire.
- */
- void endConfigurationChange();
-
- /**
- * To be called before the configuration is used. Corresponds to read lock
- * acquire.
- */
- void startPublishEvent();
-
- /**
- * To be called after the configuration is used. Corresponds to read lock
- * release.
- */
- void endPublishEvent();
-
- /**
- * @return Configuration data.
+ * Atomically get the configuration. The XMLRouter uses this to get a
+ * snapshot of the configuration data for handling a single message. In this
+ * way a consistent configuration is used for each event.
+ *
+ * @return Configuration.