SUMMARY:
java.lang.Object
org.reflections.util.ClasspathHelper
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
| 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 |
PROPKEY_PACKAGEPOJOS
public static final String PROPKEY_PACKAGEPOJOS
- See Also:
- Constant Field Values
ClassPathHelperExtended
public ClassPathHelperExtended()
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
Copyright © 2013-2015. All Rights Reserved.
|