code: public void configPlugin(Plugins me) {
  		String[] dses = this.getDataSource();
  		for (String ds : dses) {
  			if (!this.getDbActiveState(ds)) {
  				continue;
  			}
  			DruidPlugin drp = this.getDruidPlugin(ds);
  			me.add(drp);
  			ActiveRecordPlugin arp = this.getActiveRecordPlugin(ds, drp);
  			me.add(arp);
  		}
  		// config ModelRedisPlugin
  		String[] caches = this.getRedisCaches();
  		for (String cache : caches) {
  			if (!this.getRedisActiveState(cache)) {
  				continue;
  			}
  			// conf redis plguin
  			RedisPlugin rp = null;
  			String redisPassword = this.getRedisPassword(cache);
  			if (StrKit.isBlank(redisPassword)) {
  				rp = new RedisPlugin(cache, this.getRedisHost(cache), this.getRedisPort(cache));
  			} else {
  				rp = new RedisPlugin(cache, this.getRedisHost(cache), this.getRedisPort(cache), this.getRedisPassword(cache));
  			}
  			me.add(rp);
  			// conf redis model plugin
  			ModelRedisPlugin mrp = new ModelRedisPlugin(cache, this.getRedisCacheTables(cache));
  			me.add(mrp);
  		}
  		// config others
  		configMorePlugins(me);
  	}
docs: Config plugin