[jboss-dev-forums] [Design of POJO Server] - Re: migrating TransactionManager and Invokers to POJO

alesj do-not-reply at jboss.com
Tue Apr 1 07:40:38 EDT 2008


"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#4140425

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140425



More information about the jboss-dev-forums mailing list