Package org.jboss.system.metadata

Examples of org.jboss.system.metadata.ServiceAnnotationMetaData


   protected void assertAnnotation(ServiceMetaData metaData, String exp, Class c)
      throws Exception
   {
      List<ServiceAnnotationMetaData> annotations = metaData.getAnnotations();
      assertEquals("annotations.size", 1, annotations.size());
      ServiceAnnotationMetaData amd = annotations.get(0);
      assertNotNull(amd);
      String amdExp = amd.getAnnotation();
      assertEquals(exp, amdExp);
      Object expAnn = AnnotationCreator.createAnnotation(exp, c);
      Annotation ann = amd.getAnnotationInstance();
      assertEquals(expAnn, ann);
   }
View Full Code Here


   protected void assertAnnotation(ServiceMetaData metaData, String exp, Class c)
      throws Exception
   {
      List<ServiceAnnotationMetaData> annotations = metaData.getAnnotations();
      assertEquals("annotations.size", 1, annotations.size());
      ServiceAnnotationMetaData amd = annotations.get(0);
      assertNotNull(amd);
      String amdExp = amd.getAnnotation();
      assertEquals(exp, amdExp);
      Object expAnn = AnnotationCreator.createAnnotation(exp, c);
      Annotation ann = amd.getAnnotationInstance();
      assertEquals(expAnn, ann);
   }
View Full Code Here

TOP

Related Classes of org.jboss.system.metadata.ServiceAnnotationMetaData

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.