public class ClassPathSearch extends Object
For example, used to find all the Entity beans and ScalarTypes for Ebean.
| Constructor and Description |
|---|
ClassPathSearch(ClassLoader classLoader,
ClassPathSearchFilter filter,
ClassPathSearchMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
findClasses()
Searches the class path for all matching classes.
|
Set<String> |
getJarHits()
Return the set of jars that contained classes that matched.
|
Set<String> |
getPackageHits()
Return the set of packages that contained classes that matched.
|
public ClassPathSearch(ClassLoader classLoader, ClassPathSearchFilter filter, ClassPathSearchMatcher matcher)
public Set<String> getJarHits()
public Set<String> getPackageHits()
public List<Class<?>> findClasses() throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.