ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);
InterceptorClassAdapter cv = new InterceptorClassAdapter(classAnnotationMetadata, cw);
InjectionClassAdapter cv2 = new InjectionClassAdapter(classAnnotationMetadata, cv, this.map, null, false);
cr.accept(cv2, 0);
classAnnotationMetadata.setModified();
defineClass(this.loader, classAnnotationMetadata.getClassName().replace("/", "."), cw.toByteArray());
}
}
// search all beans
logger.info("Beans found are {0}", this.ejbJarAnnotationMetadata.getBeanNames());