}
public void initApplication() throws Exception {
DbSchema schema = (DbSchema) getConnection().getActivator().createObject(getConfig().getExtracted("schema"));
schema.doInit(getConfig());
manager = new DbManager(((DbCaoConnection)getConnection()).getPool(), schema, getConnection().getActivator());
for ( Entry<String, CaoMetadata> caoMap : manager.getCaoMetadata().getBundle().entrySet()) {
mIndex.put(caoMap.getKey(), new DbMetadata(caoMap.getValue()));
}
schema.doPostInit(manager);