protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager) { for (InjectionPoint ij : bean.getInjectionPoints()) { validateInjectionPoint(ij, beanManager); } // Validate all pseudo-scoped beans, except for built-in beans and session beans which are proxied by the EJB container if (!beanManager.isNormalScope(bean.getScope()) && !(bean instanceof AbstractBuiltInBean) && !(bean instanceof SessionBean)) { validatePseudoScopedBean(bean, beanManager); } if (beanManager.isPassivatingScope(bean.getScope()) && !Beans.isPassivationCapableBean(bean)) { throw ValidatorLogger.LOG.beanWithPassivatingScopeNotPassivationCapable(bean); } }