improve wall filter

This commit is contained in:
wenshao
2013-04-08 12:54:16 +08:00
parent de60312713
commit 866ddaaaed
12 changed files with 112 additions and 10 deletions
@@ -53,6 +53,8 @@ public class WallConfig implements WallConfigMBean {
private boolean intersectAllow = false;
private boolean replaceAllow = true;
private boolean setAllow = true;
private boolean commitAllow = true;
private boolean useAllow = false;
private boolean multiStatementAllow = false;
@@ -104,6 +106,23 @@ public class WallConfig implements WallConfigMBean {
public WallConfig(){
}
public boolean isUseAllow() {
return useAllow;
}
public void setUseAllow(boolean useAllow) {
this.useAllow = useAllow;
}
public boolean isCommitAllow() {
return commitAllow;
}
public void setCommitAllow(boolean commitAllow) {
this.commitAllow = commitAllow;
}
public boolean isIntersectAllow() {
return intersectAllow;