Add ognlAutoGrowthCollectionLimit constant to java config

This commit is contained in:
Aleksandr Mashchenko
2018-03-17 23:51:44 +02:00
parent b492eaf0c7
commit 32af1370ed
@@ -139,6 +139,7 @@ public class ConstantConfig {
private BeanConfig textProviderFactory;
private BeanConfig localizedTextProvider;
private Boolean disallowProxyMemberAccess;
private Integer ognlAutoGrowthCollectionLimit;
protected String beanConfToString(BeanConfig beanConf) {
return beanConf == null ? null : beanConf.getName();
@@ -266,6 +267,7 @@ public class ConstantConfig {
map.put(StrutsConstants.STRUTS_TEXT_PROVIDER_FACTORY, beanConfToString(textProviderFactory));
map.put(StrutsConstants.STRUTS_LOCALIZED_TEXT_PROVIDER, beanConfToString(localizedTextProvider));
map.put(StrutsConstants.STRUTS_DISALLOW_PROXY_MEMBER_ACCESS, Objects.toString(disallowProxyMemberAccess, null));
map.put(StrutsConstants.STRUTS_OGNL_AUTO_GROWTH_COLLECTION_LIMIT, Objects.toString(ognlAutoGrowthCollectionLimit, null));
return map;
}
@@ -1305,4 +1307,12 @@ public class ConstantConfig {
public void setDisallowProxyMemberAccess(Boolean disallowProxyMemberAccess) {
this.disallowProxyMemberAccess = disallowProxyMemberAccess;
}
public Integer getOgnlAutoGrowthCollectionLimit() {
return ognlAutoGrowthCollectionLimit;
}
public void setOgnlAutoGrowthCollectionLimit(Integer ognlAutoGrowthCollectionLimit) {
this.ognlAutoGrowthCollectionLimit = ognlAutoGrowthCollectionLimit;
}
}