org.glassfish.apf.impl
Class JarScanner
java.lang.Object
org.glassfish.apf.impl.JavaEEScanner
org.glassfish.apf.impl.JarScanner
- All Implemented Interfaces:
- Scanner<Object>
public class JarScanner
- extends JavaEEScanner
- implements Scanner<Object>
Implements the scanner interface on a jar file.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarScanner
public JarScanner()
process
public void process(File jarFile,
Object bundleDesc,
ClassLoader loader)
throws IOException
- Specified by:
process in interface Scanner<Object>
- Throws:
IOException
getClassLoader
public ClassLoader getClassLoader()
- Description copied from interface:
Scanner
- Returns a ClassLoader capable of loading classes from the
underlying medium
- Specified by:
getClassLoader in interface Scanner<Object>
- Returns:
- a class loader capable of loading the classes
getElements
public Set<Class> getElements()
- Description copied from interface:
Scanner
- Return a complete set of classes available from this location.
- Specified by:
getElements in interface Scanner<Object>
- Returns:
- the complete set of classes
Copyright © 2012 GlassFish Community. All Rights Reserved.