public void setConfig(Configuration config) throws dbXMLException {
this.config = config;
Configuration colConfig = config.getChild(COLLECTIONS);
if ( colConfig != null ) {
colConfig.processChildren(COLLECTION,
new ConfigurationCallback() {
public void process(Configuration cfg) throws dbXMLException {
Collection col = new Collection((Collection)CollectionManager.this);
col.setConfig(cfg);
collections.put(col.getName(), col);