@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class ClasspathEntityScanner extends java.lang.Object
Utility class for scanning the classpath for entities
Modifiers | Name | Description |
---|---|---|
private java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
annotations |
The annotations to scan |
private java.lang.ClassLoader |
classLoader |
The classloader to use |
private java.util.List<java.lang.String> |
ignoredPackages |
Packages that won't be scanned for performance reasons |
Type | Name and description |
---|---|
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
annotations The annotations to scan |
java.lang.ClassLoader |
classLoader The classloader to use |
java.util.List<java.lang.String> |
ignoredPackages Packages that won't be scanned for performance reasons |
Constructor and description |
---|
ClasspathEntityScanner
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Class[] |
scan(java.lang.Package[] packages) Scans the classpath for entities for the given packages |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The annotations to scan
The classloader to use
Packages that won't be scanned for performance reasons
Groovy Documentation