/**
* 配置插件
*/
public void configPlugin(Plugins me) {
// 配置数据库连接池插件
DruidPlugin druidPlugin = new DruidPlugin(PropertiesContent.get("jdbc.url"),
PropertiesContent.get("jdbc.username"),
PropertiesContent.get("jdbc.password")
,PropertiesContent.get("jdbc.driver"));
// WallFilter wall = new WallFilter();
// wall.setDbType(PropertiesContent.get("jdbc.dbType"));
// druidPlugin.addFilter(wall);
druidPlugin.addFilter(new StatFilter());
me.add(druidPlugin);
// 配置ActiveRecord插件
/**
ActiveRecordPlugin arp = new ActiveRecordPlugin(druidPlugin);
me.add(arp);