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
|
Method Summary |
java.lang.ClassLoader |
getClassLoader()
Returns a ClassLoader capable of loading classes from the
underlying medium |
java.util.Set<java.lang.Class> |
getElements()
Return a complete set of classes available from this location. |
protected java.util.Set<java.lang.String> |
getEntries()
|
void |
process(java.io.File directory,
java.lang.Object bundleDesc,
java.lang.ClassLoader classLoader)
|
| 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(java.io.File directory,
java.lang.Object bundleDesc,
java.lang.ClassLoader classLoader)
throws java.io.IOException
- Specified by:
process in interface Scanner
- Throws:
java.io.IOException
getEntries
protected java.util.Set<java.lang.String> getEntries()
getClassLoader
public java.lang.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 java.util.Set<java.lang.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.