protected void checkPassivationScope(Bean<?> beanObj)
{
boolean validate = false;
if (EnterpriseBeanMarker.class.isAssignableFrom(beanObj.getClass())) {
EnterpriseBeanMarker marker = (EnterpriseBeanMarker) beanObj;
if (marker.isPassivationCapable()) {
validate = true;
}
} else if (webBeansContext.getBeanManagerImpl().isPassivatingScope(beanObj.getScope())) {
if (WebBeansUtil.isPassivationCapable(beanObj) == null) {
if (!(beanObj instanceof AbstractProducerBean)) {