WELD-1675 AnnotatedType.getTypeClosure() should be used to determine the

bean types of session beans