Package net.sourceforge.javautil.common.classloader

Examples of net.sourceforge.javautil.common.classloader.ClassLoaderClassGroup


      ClassLoaderScanner scanner = new ClassLoaderScanner();
      scanner.setDirectoryResourceName(this.resourceName);
     
      for (Pattern pattern : patterns) scanner.addInclusion(pattern);
     
      ClassLoaderClassGroup group = scanner.getClasses(GroovyDSL.class, Object.class);
     
      List<GroovyDSL> groovyDSLs = group.getInstances(GroovyDSL.class);
     
      for (Class categoryClass : group.getClasses(Object.class)) {
        groovyDSLs.add( new GroovyDSLCategoryClass(categoryClass) );
      }
     
      this.initialize(groovyDSLs);
     
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.common.classloader.ClassLoaderClassGroup

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.