super(Integer.parseInt(HBCIUtils.getParam("kernel.objpool.DEG","512")));
}
public DEG createDEG(String type, String name, String path, char predelim, int idx, StringBuffer res, int fullResLen, Document syntax, Hashtable<String, String> predefs,Hashtable<String, String> valids)
{
DEG ret=(DEG)getFreeObject();
if (ret==null) {
// HBCIUtils.log("creating new DEG object",HBCIUtils.LOG_DEBUG);
ret=new DEG(type,name,path,predelim,idx,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} else {
// HBCIUtils.log("reusing DEG object",HBCIUtils.LOG_DEBUG);
try {
ret.init(type,name,path,predelim,idx,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} catch (RuntimeException e) {
addToFreePool(ret);
throw e;
}