public final Map setupBindings() {
HashMap bindings = new HashMap();
//wrap the binding map up in a pico container for backwards compatability
// with old api which registered bindings in a pico container
PicoMap container = new PicoMap(bindings);
//configure bindings of all dependencies
for (Iterator d = allDependencies().iterator(); d.hasNext();) {
Configuration dependency = (Configuration) d.next();
dependency.registerBindings(bindings);