Do not use beanmanager.getBeans within an extension.