comp = new NewManagedBean<T>(clazz, WebBeansType.MANAGED, webBeansContext);
comp.setImplScopeType(new DependentScopeLiteral());
comp.setConstructor(defineConstructor(clazz));
definitionUtil.addConstructorInjectionPointMetaData(comp, comp.getConstructor());
definitionUtil.defineInjectedFields(comp);
definitionUtil.defineInjectedMethods(comp);
}
else if (EJBWebBeansConfigurator.isSessionBean(clazz, webBeansContext))
{
comp = new NewManagedBean<T>(clazz, WebBeansType.ENTERPRISE, webBeansContext);