public class URLPackageScanner extends Object
URLClassLoader| Modifier and Type | Class and Description |
|---|---|
static interface |
URLPackageScanner.Callback
Callback interface for found classes.
|
| Modifier and Type | Method and Description |
|---|---|
static URLPackageScanner |
newInstance(boolean addRecursively,
ClassLoader classLoader,
URLPackageScanner.Callback callback)
Factory method to create an instance of URLPackageScanner in the default package
|
static URLPackageScanner |
newInstance(boolean addRecursively,
ClassLoader classLoader,
URLPackageScanner.Callback callback,
String packageName)
Factory method to create an instance of URLPackageScanner.
|
void |
scanPackage() |
public static URLPackageScanner newInstance(boolean addRecursively, ClassLoader classLoader, URLPackageScanner.Callback callback, String packageName)
addRecursively - flag to add child packagesclassLoader - class loader that will have classes addedpkg - Package that will be scannedpublic static URLPackageScanner newInstance(boolean addRecursively, ClassLoader classLoader, URLPackageScanner.Callback callback)
pkg - Package that will be scannedaddRecursively - flag to add child packagesclassLoader - class loader that will have classes addedpublic void scanPackage()
Copyright © 2008-2015 Seam Framework. All Rights Reserved.