final Iterator serviceItr = services.values().iterator();
while (serviceItr.hasNext()) {
final Object object = serviceItr.next();
if (object instanceof IDisposable) {
final IDisposable service = (IDisposable) object;
service.dispose();
}
}
services = null;
}
}