Package org.jboss.test.microcontainer.support

Examples of org.jboss.test.microcontainer.support.AnnotatedBean


      super(name);
   }
  
   public void testAnnotationsInProxy() throws Exception
   {
      AnnotatedBean bean = (AnnotatedBean)getBean("Bean");
      assertTrue(bean instanceof AspectManaged);
      org.jboss.test.microcontainer.support.Test test = bean.getClass().getAnnotation(org.jboss.test.microcontainer.support.Test.class);
      assertNotNull(test);
     
      Method method = bean.getClass().getMethod("method");
      test = method.getAnnotation(org.jboss.test.microcontainer.support.Test.class);
      assertNotNull(test);     
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.microcontainer.support.AnnotatedBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.