Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: 
java.lang.Object
  extended by org.reflections.util.ClasspathHelper
      extended by org.unitils.objectvalidation.objectcreator.generator.helper.ClassPathHelperExtended

public class ClassPathHelperExtended
extends org.reflections.util.ClasspathHelper

Extention for ClasspathHelper. This class let the user choose in which packages the pojos are. Default: target/classes

Since:
1.1.6
Author:
Willemijn Wouters

Field Summary
static String PROPKEY_PACKAGEPOJOS
           
 
Constructor Summary
ClassPathHelperExtended()
           
 
Method Summary
static Collection<URL> forProject(ClassLoader classLoaders)
          this method checks in the unitils.properties if there is a property PROPKEY_PACKAGEPOJOS.
 
Methods inherited from class org.reflections.util.ClasspathHelper
classLoaders, cleanPath, contextClassLoader, forClass, forClassLoader, forClassLoader, forJavaClassPath, forManifest, forManifest, forManifest, forPackage, forResource, forWebInfClasses, forWebInfLib, staticClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPKEY_PACKAGEPOJOS

public static final String PROPKEY_PACKAGEPOJOS
See Also:
Constant Field Values
Constructor Detail

ClassPathHelperExtended

public ClassPathHelperExtended()
Method Detail

forProject

public static Collection<URL> forProject(ClassLoader classLoaders)
this method checks in the unitils.properties if there is a property PROPKEY_PACKAGEPOJOS. If that property isn't there than all the classes from the default folder ("target/classes") is loaded.

Parameters:
classLoaders: - The classloaders from the GenericsGenerator class.
Returns:
Collection

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013-2015. All Rights Reserved.