Class AppClientScanner
- java.lang.Object
-
- org.glassfish.apf.impl.JavaEEScanner
-
- com.sun.enterprise.deployment.annotation.impl.ModuleScanner<ApplicationClientDescriptor>
-
- com.sun.enterprise.deployment.annotation.impl.AppClientScanner
-
- All Implemented Interfaces:
Scanner<ApplicationClientDescriptor>
@Service(name="car") @PerLookup public class AppClientScanner extends ModuleScanner<ApplicationClientDescriptor>
Implementation of the Scanner interface for AppClientThis 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.
- Author:
- Shing Wai Chan, tjquinn
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
archiveFile, classLoader, classParser, deplLogger
-
-
Constructor Summary
Constructors Constructor Description AppClientScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(File archiveFile, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader)
Scan the archive file and gather a list of classes that should be processed for annotationsvoid
process(ReadableArchive archive, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader, org.glassfish.hk2.classmodel.reflect.Parser parser)
-
Methods inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
addLibraryJars, addScanClassName, addScanDirectory, addScanJar, addScanURI, calculateResults, completeProcess, getClassLoader, getElements, getElements, getTypes, setParser
-
Methods inherited from class org.glassfish.apf.impl.JavaEEScanner
getComponentInfo, initTypes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.apf.Scanner
getComponentInfo
-
-
-
-
Method Detail
-
process
public void process(ReadableArchive archive, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader, org.glassfish.hk2.classmodel.reflect.Parser parser) throws IOException
- Overrides:
process
in classModuleScanner<ApplicationClientDescriptor>
- Throws:
IOException
-
process
public void process(File archiveFile, ApplicationClientDescriptor bundleDesc, ClassLoader classLoader) throws IOException
Description copied from interface:Scanner
Scan the archive file and gather a list of classes that should be processed for annotations- Parameters:
archiveFile
- the archive file for scanningbundleDesc
- the bundle descriptor associated with this archiveclassLoader
- the classloader used to scan the annotation- Throws:
IOException
-
-