X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=config%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fconfig%2FConfig.java;h=263b0b66bfe7c0fbad9087dc6c8b2de21462cbdd;hb=19413a6699295b4bbebc1b3bdb9838fd4370e581;hp=b90b34c4bfb58a0739d760d0b545a139bf19df0c;hpb=f77e29e9ae2505009ffc9270f4c4adfde331fa62;p=xmlrouter diff --git a/config/src/main/java/org/wamblee/xmlrouter/config/Config.java b/config/src/main/java/org/wamblee/xmlrouter/config/Config.java index b90b34c..263b0b6 100644 --- a/config/src/main/java/org/wamblee/xmlrouter/config/Config.java +++ b/config/src/main/java/org/wamblee/xmlrouter/config/Config.java @@ -15,13 +15,13 @@ */ package org.wamblee.xmlrouter.config; -import java.util.Collection; +import java.util.Map; import org.wamblee.xmlrouter.common.Id; /** - * Basic configuration interface for managing a set of configuration items of a - * given type with unique ids. + * Interface for managing a set of configuration items of a given type with + * unique ids. * * @author Erik Brakkee * @@ -51,15 +51,5 @@ public interface Config { /** * @return All available ids. */ - Collection> ids(); - - /** - * Gets the item for the given id. - * - * @param aId - * Item id. - * @return Item, or null if not found. - */ - T get(Id aId); - + Map, T> map(); } \ No newline at end of file