public class JarScanner extends JavaEEScanner implements Scanner<Object>
| Constructor and Description |
|---|
JarScanner() |
| 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.
|
void |
process(File jarFile,
Object bundleDesc,
ClassLoader loader)
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 jarFile, Object bundleDesc, ClassLoader loader) throws IOException
Scannerprocess in interface Scanner<Object>jarFile - the archive file for scanningbundleDesc - the bundle descriptor associated with this archiveIOExceptionpublic ClassLoader getClassLoader()
ScannergetClassLoader in interface Scanner<Object>Copyright © 2015. All rights reserved.