org.nuxeo.osgi.application
Class ClassPathScanner
java.lang.Object
org.nuxeo.osgi.application.ClassPathScanner
public class ClassPathScanner
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback)
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback,
boolean scanForNestedJars,
java.lang.String[] blackList)
setScanForNestedJARs
public void setScanForNestedJARs(boolean scanForNestedJars)
scan
public void scan(java.util.List<java.io.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(java.io.File file)
extractNestedJars
public java.util.Collection<BundleFile> extractNestedJars(BundleFile bf,
java.io.File nestedBundlesDir)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.