super(Integer.parseInt(HBCIUtils.getParam("kernel.objpool.SF","128")));
}
public SF createSF(String type, String name, String path, char predelim, int idx, StringBuffer res, int fullResLen, Document syntax, Hashtable<String,String> predefs,Hashtable<String,String> valids)
{
SF ret=(SF)getFreeObject();
if (ret==null) {
// HBCIUtils.log("creating new SF object",HBCIUtils.LOG_DEBUG);
ret=new SF(type,name,path,predelim,idx,res,fullResLen,syntax,predefs,valids);
addToUsedPool(ret);
} else {
// HBCIUtils.log("reusing SF 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;
}