|
|
@@ -55,6 +55,7 @@ final public class Constants {
|
|
|
private int freeMarkerTemplateUpdateDelay = Const.DEFAULT_FREEMARKER_TEMPLATE_UPDATE_DELAY; // just for not devMode
|
|
|
|
|
|
private ControllerFactory controllerFactory = Const.DEFAULT_CONTROLLER_FACTORY;
|
|
|
+ private ActionReporter actionReporter = Const.DEFAULT_ACTION_REPORTER;
|
|
|
private int configPluginOrder = Const.DEFAULT_CONFIG_PLUGIN_ORDER;
|
|
|
|
|
|
private boolean denyAccessJsp = true; // 默认拒绝直接访问 jsp 文件
|
|
|
@@ -430,6 +431,17 @@ final public class Constants {
|
|
|
public boolean getDenyAccessJsp() {
|
|
|
return denyAccessJsp;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设置自定义的 ActionReporter 用于定制 action report 输出功能
|
|
|
+ */
|
|
|
+ public void setActionReporter(ActionReporter actionReporter) {
|
|
|
+ this.actionReporter = actionReporter;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ActionReporter getActionReporter() {
|
|
|
+ return actionReporter;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|