private void initDataSource(final Plugins plugins) {

        final Map<String, Properties> dbConfig = GojaConfig.loadDBConfig(GojaConfig.getConfigProps());
        for (String db_config : dbConfig.keySet()) {
            final Properties db_props = dbConfig.get(db_config);
            if (db_props != null && !db_props.isEmpty()) {
                DruidDbIntializer.init(db_config, plugins, db_props);
            }
        }

        if (GojaConfig.getPropertyToBoolean(GojaPropConst.DB_SQLINXML, true)) {
            plugins.add(new SqlInXmlPlugin());
        }
    }
private void initDataSource(final Plugins plugins) {

        final Map<String, Properties> dbConfig = GojaConfig.loadDBConfig(GojaConfig.getConfigProps());
        for (String db_config : dbConfig.keySet()) {
            final Properties db_props = dbConfig.get(db_config);
            if (db_props != null && !db_props.isEmpty()) {
                DruidDbIntializer.init(db_config, plugins, db_props);
            }
        }

        if (GojaConfig.getPropertyToBoolean(GojaPropConst.DB_SQLINXML, true)) {
            plugins.add(new SqlInXmlPlugin());
        }
    }
private void initDataSource ( final Plugins plugins ) { final Map < String , Properties > dbConfig = GojaConfig . loadDBConfig ( GojaConfig . getConfigProps ( ) ) ; for ( String db_config : dbConfig . keySet ( ) ) { final Properties db_props = dbConfig . get ( db_config ) ; if ( db_props != null && ! db_props . isEmpty ( ) ) { DruidDbIntializer . init ( db_config , plugins , db_props ) ; } } if ( GojaConfig . getPropertyToBoolean ( GojaPropConst . DB_SQLINXML , true ) ) { plugins . add ( new SqlInXmlPlugin ( ) ) ; } }
init databases.

@param plugins plugin.
init databases .