Class EjbJarScanner
- java.lang.Object
-
- org.glassfish.apf.impl.JavaEEScanner
-
- com.sun.enterprise.deployment.annotation.impl.ModuleScanner<EjbBundleDescriptor>
-
- org.glassfish.ejb.deployment.annotation.impl.EjbJarScanner
-
- All Implemented Interfaces:
Scanner<EjbBundleDescriptor>
- Direct Known Subclasses:
EjbInWarScanner
@Service(name="ejb") @PerLookup public class EjbJarScanner extends ModuleScanner<EjbBundleDescriptor>
Implementation of the Scanner interface for Ejb jar.- Author:
- Shing Wai Chan
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
archiveFile, classLoader, classParser, deplLogger
-
-
Constructor Summary
Constructors Constructor Description EjbJarScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addClassesFromDescriptor(EjbBundleDescriptor desc)
protected void
addScanDirectories()
void
process(File af, EjbBundleDescriptor desc, ClassLoader cl)
Scan the archive file and gather a list of classes that should be processed for annotations-
Methods inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
addLibraryJars, addScanClassName, addScanDirectory, addScanJar, addScanURI, calculateResults, completeProcess, getClassLoader, getElements, getElements, getTypes, process, 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(File af, EjbBundleDescriptor desc, ClassLoader cl) throws IOException
Description copied from interface:Scanner
Scan the archive file and gather a list of classes that should be processed for annotations- Parameters:
af
- the archive file for scanningdesc
- the bundle descriptor associated with this archivecl
- the classloader used to scan the annotation- Throws:
IOException
-
addScanDirectories
protected void addScanDirectories() throws IOException
- Throws:
IOException
-
addClassesFromDescriptor
protected void addClassesFromDescriptor(EjbBundleDescriptor desc)
-
-