for (Class regListener : regListenerClasses) {
Bean bean = (Bean) regListener.getAnnotation(Bean.class);
// register the tregistrationListener with its id
TregistrationListener tref = generateTregListener(regListener);
if (bean.id().length() > 0) {
reglMap.put(bean.id(), tref);
} else {
throw new BlueprintAnnotationException("Unable to find the id for the @RegistrationListener annotated class " + regListener.getName());