bean iterator removed, set of bean names added, and bean definition is now readonly public class