Package org.jboss.test.kernel.deployment.support

Examples of org.jboss.test.kernel.deployment.support.TestAnnotation2


   public void testMutableMetaData() throws Throwable
   {
      MutableMetaDataRepository repository = getMetaDataRepository().getMetaDataRepository();
      ScopeKey instanceScope = new ScopeKey(CommonLevels.INSTANCE, "TestBean");
      MemoryMetaDataLoader loader = new MemoryMetaDataLoader(instanceScope);
      TestAnnotation2 annotation = (TestAnnotation2) AnnotationCreator.createAnnotation("@org.jboss.test.kernel.deployment.support.TestAnnotation2", TestAnnotation2.class);
      loader.addAnnotation(annotation);
      repository.addMetaDataRetrieval(loader);
      ScopeKey setStringScope = new ScopeKey(CommonLevels.JOINPOINT, "setString");
      MemoryMetaDataLoader stringProperty = new MemoryMetaDataLoader(setStringScope);
      stringProperty.addAnnotation(annotation);
View Full Code Here

TOP

Related Classes of org.jboss.test.kernel.deployment.support.TestAnnotation2

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.