Config no longer implements Identifiable because this was in violation of the contrac...
[xmlrouter] / impl / src / main / java / org / wamblee / xmlrouter / impl / Config.java
similarity index 85%
rename from config/src/main/java/org/wamblee/xmlrouter/config/Config.java
rename to impl/src/main/java/org/wamblee/xmlrouter/impl/Config.java
index aa5c5409851fbcb6a155ee18a5c046de2f1be1e2..2699255496a200190ce7859a6991bcb887a98f1e 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.wamblee.xmlrouter.config;
+package org.wamblee.xmlrouter.impl;
 
 import java.util.Collection;
 
 import org.wamblee.xmlrouter.common.Id;
+import org.wamblee.xmlrouter.config.Identifiable;
 
 /**
  * Interface for managing a set of configuration items of a given type with
@@ -28,7 +29,12 @@ import org.wamblee.xmlrouter.common.Id;
  * @param <T>
  *            Type for which ids are generated.
  */
-public interface Config<T extends Identifiable> extends Identifiable<Config> {
+public interface Config<T extends Identifiable> {
+
+    /**
+     * @return Prefix to use for ids of contained identifiable objects.
+     */
+    String getPrefix();
 
     /**
      * @return The type of contained object.