*/
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
*
/**
* @return All available ids.
*/
- Collection<Id<T>> ids();
-
- /**
- * Gets the item for the given id.
- *
- * @param aId
- * Item id.
- * @return Item, or null if not found.
- */
- T get(Id<T> aId);
-
+ Map<Id<T>, T> map();
}
\ No newline at end of file