org.nuxeo.osgi.application
Class ClassPathScanner
java.lang.Object
org.nuxeo.osgi.application.ClassPathScanner
public class ClassPathScanner
- extends Object
- Author:
- Bogdan Stefanescu
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback)
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback,
boolean scanForNestedJars,
String[] blackList)
setScanForNestedJARs
public void setScanForNestedJARs(boolean scanForNestedJars)
scan
public void scan(List<File> classPath)
- FIXME: this javadoc is not correct.
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.
- Parameters:
classPath
-
scan
public void scan(File file)
extractNestedJars
public Collection<BundleFile> extractNestedJars(BundleFile bf,
File nestedBundlesDir)
throws IOException
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.