log().debug("Class '" + clazz.getName() + "' has an @Bean annotation");
}
ManagedBeanConfig mbc = new ManagedBeanConfig();
mbc.setName(bean.name());
mbc.setType(clazz.getName());
switch (bean.scope()) {
case APPLICATION:
mbc.setScope("application");
break;
case REQUEST:
mbc.setScope("request");