org.glassfish.apf.impl
Class DirectoryScanner
java.lang.Object
org.glassfish.apf.impl.JavaEEScanner
org.glassfish.apf.impl.DirectoryScanner
- All Implemented Interfaces:
- Scanner
public class DirectoryScanner
- extends JavaEEScanner
- implements Scanner
Implementation of the Scanner interface for a directory
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryScanner
public DirectoryScanner()
process
public void process(File directory,
Object bundleDesc,
ClassLoader classLoader)
throws IOException
- Specified by:
process in interface Scanner
- Throws:
IOException
getEntries
protected Set<String> getEntries()
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
- 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
- Returns:
- the complete set of classes
Copyright © 2012 GlassFish Community. All Rights Reserved.