import org.wamblee.xmlrouter.config.Config;
import org.wamblee.xmlrouter.config.Identifiable;
-// TODO think real hard about the prefixing. We want a consistent view for clients.
-// perhaps only provide a method to add items and hide all access to the ids.
-
/**
* Default implementation of the {@link Config} interface.
*
* Constructs the object.
*/
public ConfigImpl(Id<Config> aId) {
- // TODO test for null.
+ notNull("id", aId);
id = aId;
registered = new ArrayList<T>();
}