Actually, I see BasicAnnotationsItem already does 2b) so I'll go with that bypassing
the loader:
| public class CachedAnnotationsItem extends BasicAnnotationsItem
| {
| public CachedAnnotationsItem(AnnotationItem<? extends Annotation>[]
annotationItems)
| {
| super(null, annotationItems);
| }
|
| @Override
| public boolean isCachable()
| {
| for (AnnotationItem<? extends Annotation> item : getAnnotations())
| {
| if (item.isCachable() == false)
| return false;
| }
| return true;
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269366#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...