protected void processAnnotations(Class<? extends Annotation> annotationType) { FacesContext ctx = FacesContext.getCurrentInstance(); ApplicationAssociate associate = ApplicationAssociate.getInstance(ctx.getExternalContext()); AnnotationManager manager = associate.getAnnotationManager(); manager.applyConfigAnnotations( ctx, annotationType, ConfigManager.getAnnotatedClasses(ctx).get(annotationType)); }