Package org.jboss.classloading.plugins

Examples of org.jboss.classloading.plugins.PackageInfo


      return systemPackages;
   }

   public static Set getClassLoaderPackages(ClassLoader cl)
   {
      PackageInfo info;
      if (cl instanceof PackageInfo)
         info = (PackageInfo) cl;
      else
         info = new WrappingClassLoader(cl);
      Package[] pkgs = info.getPackages();
      HashSet packages = new HashSet();
      for (int i = 0; i < pkgs.length; ++i)
         packages.add(pkgs[i].getName());
     
      return packages;
View Full Code Here

TOP

Related Classes of org.jboss.classloading.plugins.PackageInfo

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.