public class DirectoryScanner extends JavaEEScanner implements Scanner
| Constructor and Description |
|---|
DirectoryScanner() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns a ClassLoader capable of loading classes from the
underlying medium
|
Set<Class> |
getElements()
Return a complete set of classes available from this location.
|
protected Set<String> |
getEntries() |
void |
process(File directory,
Object bundleDesc,
ClassLoader classLoader)
Scan the archive file and gather a list of classes
that should be processed for anntoations
|
getComponentInfo, getTypes, initTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentInfo, getTypespublic void process(File directory, Object bundleDesc, ClassLoader classLoader) throws IOException
Scannerprocess in interface Scannerdirectory - the archive file for scanningbundleDesc - the bundle descriptor associated with this archiveIOExceptionpublic ClassLoader getClassLoader()
ScannergetClassLoader in interface Scannerpublic Set<Class> getElements()
ScannergetElements in interface ScannerCopyright © 2019. All rights reserved.