"alesj" wrote :
| What would this return (e.g. target == Jonathan's TransactionManager):
| a) target.getClass().getAnnotation(JMX.class) == null
| b) target.getClass().getAnnotation(JMX.class) == @JMX instance
(a) as expected. ;-)
| assertIsAspectized("Bean5");
| Object bean = getBean("Bean5", SimpleBeanImpl.class);
| Class<?> clazz = bean.getClass();
| Annotation annotation = clazz.getAnnotation(SomeNonIA.class);
| assertNull(annotation);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140425#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...