Collection serviceBindnings = siteNodeVersion.getServiceBindings();
Iterator serviceBindningsIterator = serviceBindnings.iterator();
while(serviceBindningsIterator.hasNext())
{
SmallServiceBindingImpl serviceBinding = (SmallServiceBindingImpl)serviceBindningsIterator.next();
//logger.info("serviceBinding:" + serviceBinding.getServiceBindingId());
Collection qualifyers = serviceBinding.getBindingQualifyers();
Iterator qualifyersIterator = qualifyers.iterator();
while(qualifyersIterator.hasNext())
{
SmallQualifyerImpl qualifyer = (SmallQualifyerImpl)qualifyersIterator.next();
qualifyersIterator.remove();
serviceBinding.getBindingQualifyers().remove(qualifyer);
}
db.remove(serviceBinding);
}
//ServiceBindingController.deleteServiceBindingsReferencingSiteNodeVersion(siteNodeVersion, db);