public class ClassPathScanner extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClassPathScanner.Callback |
Constructor and Description |
---|
ClassPathScanner(ClassPathScanner.Callback callback) |
ClassPathScanner(ClassPathScanner.Callback callback,
boolean scanForNestedJars,
String[] blackList) |
Modifier and Type | Method and Description |
---|---|
Collection<BundleFile> |
extractNestedJars(BundleFile bf,
File nestedBundlesDir) |
void |
scan(File file) |
void |
scan(List<File> classPath)
FIXME: this javadoc is not correct.
|
void |
setScanForNestedJARs(boolean scanForNestedJars) |
public ClassPathScanner(ClassPathScanner.Callback callback)
public ClassPathScanner(ClassPathScanner.Callback callback, boolean scanForNestedJars, String[] blackList)
public void setScanForNestedJARs(boolean scanForNestedJars)
public void scan(List<File> classPath)
Scans the given class path and put found OSGi bundles in bundles, regular JARs in jars and append any nested jar or bundle into the given class loader.
classPath
- public void scan(File file)
public Collection<BundleFile> extractNestedJars(BundleFile bf, File nestedBundlesDir) throws IOException
IOException
Copyright © 2011 Nuxeo SA. All Rights Reserved.