CDIBean cdiBean = new CDIBean(bean, beanManager);
// Create Service Proxy ExchangeHandlers and register them as Services, for all @Service beans...
if (isServiceBean(bean)) {
_logger.debug("Adding ServiceDescriptor for bean " + bean.getBeanClass().getName());
_beanDeploymentMetaData.addServiceDescriptor(new CDIBeanServiceDescriptor(cdiBean, _beanDeploymentMetaData));
}
// Register all beans in the deployment...
_beanDeploymentMetaData.addDeploymentBean(cdiBean);
}