@Service(name="car") @PerLookup public class AppClientScanner extends ModuleScanner<ApplicationClientDescriptor>
This scanner overrides process(ReadableArchive...) so that when used in the ACC it will work correctly with InputJarArchive readable archives, not just the expanded directory archives during deployment on the server.
archiveFile, classLoader, classParser, deplLogger| Constructor and Description |
|---|
AppClientScanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(File archiveFile,
ApplicationClientDescriptor bundleDesc,
ClassLoader classLoader)
Scan the archive file and gather a list of classes
that should be processed for anntoations
|
void |
process(ReadableArchive archive,
ApplicationClientDescriptor bundleDesc,
ClassLoader classLoader,
org.glassfish.hk2.classmodel.reflect.Parser parser) |
addLibraryJars, addScanClassName, addScanDirectory, addScanJar, addScanURI, calculateResults, completeProcess, getClassLoader, getElements, getTypes, setParsergetComponentInfo, initTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentInfopublic void process(ReadableArchive archive, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader, org.glassfish.hk2.classmodel.reflect.Parser parser) throws IOException
process in class ModuleScanner<ApplicationClientDescriptor>IOExceptionpublic void process(File archiveFile, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader) throws IOException
ScannerarchiveFile - the archive file for scanningbundleDesc - the bundle descriptor associated with this archiveclassLoader - the classloader used to scan the annotationIOExceptionCopyright © 2019. All rights reserved.