Package org.jboss.classloading.spi.metadata

Examples of org.jboss.classloading.spi.metadata.ClassLoadingMetaData


      assertManagedProperty(mo, "topLevelClassLoader", boolean.class, true);
   }

   public void testSetExportAll() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setExportAll(ExportAll.ALL);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "exportAll", ExportAll.class, ExportAll.ALL);
   }
View Full Code Here


      assertManagedProperty(mo, "exportAll", ExportAll.class, ExportAll.ALL);
   }

   public void testSetIncludedPackages() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setIncludedPackages("Included");
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "included", String.class, "Included");
   }
View Full Code Here

      assertManagedProperty(mo, "included", String.class, "Included");
   }

   public void testSetIncludedMetaData() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      FilterMetaData fmd = new FilterMetaData();
      test.setIncludedMetaData(fmd);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "includedMetaData", FilterMetaData.class, fmd);
   }
View Full Code Here

      assertManagedProperty(mo, "includedMetaData", FilterMetaData.class, fmd);
   }

   public void testSetExcludedPackages() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setExcludedPackages("Excluded");
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "excluded", String.class, "Excluded");
   }
View Full Code Here

      assertManagedProperty(mo, "excluded", String.class, "Excluded");
   }

   public void testSetExcludedMetaData() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      FilterMetaData fmd = new FilterMetaData();
      test.setExcludedMetaData(fmd);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "excludedMetaData", FilterMetaData.class, fmd);
   }
View Full Code Here

      assertManagedProperty(mo, "excludedMetaData", FilterMetaData.class, fmd);
   }

   public void testSetExcludedExportPackages() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setExcludedExportPackages("ExcludedExport");
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "excludedExport", String.class, "ExcludedExport");
   }
View Full Code Here

      assertManagedProperty(mo, "excludedExport", String.class, "ExcludedExport");
   }

   public void testSetExcludedExportMetaData() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      FilterMetaData fmd = new FilterMetaData();
      test.setExcludedExportMetaData(fmd);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "excludedExportMetaData", FilterMetaData.class, fmd);
   }
View Full Code Here

      assertManagedProperty(mo, "excludedExportMetaData", FilterMetaData.class, fmd);
   }

   public void testSetImportAll() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setImportAll(true);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "importAll", boolean.class, true);
   }
View Full Code Here

      assertManagedProperty(mo, "importAll", boolean.class, true);
   }

   public void testJ2seClassLoadingComplaince() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setJ2seClassLoadingCompliance(false);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "parentFirst", boolean.class, false);
   }
View Full Code Here

      assertManagedProperty(mo, "parentFirst", boolean.class, false);
   }

   public void testCacheable() throws Exception
   {
      ClassLoadingMetaData test = new ClassLoadingMetaData();
      test.setCacheable(false);
      ManagedObject mo = assertManagedObject(test);
      assertManagedProperty(mo, "cache", boolean.class, false);
   }
View Full Code Here

TOP

Related Classes of org.jboss.classloading.spi.metadata.ClassLoadingMetaData

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.