ManagedBean<T> bean = defineManagedBean(managedBeanCreator, processInjectionTargetEvent, false);
if (bean == null)
{
// TODO could probably be a bit more descriptive
throw new DeploymentException("Cannot create ManagedBean for class" + processInjectionTargetEvent.getAnnotatedType());
}
//X TODO move proxy instance creation into JavassistProxyFactory!
Class clazz = webBeansContext.getJavassistProxyFactory().createAbstractDecoratorProxyClass(bean);