Examples of createRequireModule()


Examples of org.jboss.classloading.spi.metadata.ClassLoadingMetaDataFactory.createRequireModule()

      RequirementsMetaData metadata = new RequirementsMetaData();
      assertNull(metadata.getRequirements());
     
      List<Requirement> list = new ArrayList<Requirement>();
      list.add(factory.createRequireModule("module", new VersionRange("1.0.0")));
      list.add(factory.createRequirePackage("package", new VersionRange("1.0.0")));
      metadata.setRequirements(list);
     
      assertEquals(list, metadata.getRequirements());
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.