private void registerAllBeans() { for (final Object ref : getAllCreatedBeanInstances()) { beanManager.addBeanToContext(ref, this); } }