public static void checkEventBindings(WebBeansContext webBeansContext, Annotation... annotations)
{
for(Annotation ann : annotations)
{
//This is added, because TCK Event tests for this.
Retention retention = ann.annotationType().getAnnotation(Retention.class);
RetentionPolicy policy = retention.value();
if(!policy.equals(RetentionPolicy.RUNTIME))
{
throw new IllegalArgumentException("Event qualifiere RetentionPolicy must be RUNTIME for qualifier : " + ann);
}
///////////////////////////////////////////////////////