validatePassivationCapableDependencies(bean, bean.getInjectionPoints());
}
if (bean.getProducer() instanceof InjectionTargetImpl)
{
InjectionTargetImpl<T> injectionTarget = (InjectionTargetImpl<T>)bean.getProducer();
BeanInterceptorInfo interceptorInfo = injectionTarget.getInterceptorInfo();
if (interceptorInfo != null)
{
for (Interceptor<?> ejbInterceptor: interceptorInfo.getEjbInterceptors())
{
validatePassivationCapableDependency(bean, ejbInterceptor);
}
for (Interceptor<?> cdiInterceptor: interceptorInfo.getCdiInterceptors())
{
validatePassivationCapableDependency(bean, cdiInterceptor);
}
for (Decorator<?> decorators: interceptorInfo.getDecorators())
{
validatePassivationCapableDependency(bean, decorators);
}
}
}