CtsBmpHome home = getHome();
Collection clct = home.findAll();
if (clct.size() != 0) {
getLog().debug("Removing " + clct.size() + " old beans.");
for (Iterator itr=clct.iterator(); itr.hasNext();) {
CtsBmp bean = (CtsBmp)itr.next();
bean.remove();
}
getLog().debug("Removal done.");
}
}