Package org.nuxeo.osgi.application
Class ClassPathScanner
- java.lang.Object
-
- org.nuxeo.osgi.application.ClassPathScanner
-
public class ClassPathScanner extends Object
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClassPathScanner.Callback
-
Field Summary
Fields Modifier and Type Field Description protected String[]blackListIf set points to a set of path prefixes to be excluded form bundle processingprotected ClassPathScanner.Callbackcallbackprotected booleanscanForNestedJARs
-
Constructor Summary
Constructors Constructor Description ClassPathScanner(ClassPathScanner.Callback callback)ClassPathScanner(ClassPathScanner.Callback callback, boolean scanForNestedJars, String[] blackList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<BundleFile>extractNestedJars(BundleFile bf, File nestedBundlesDir)voidscan(File file)voidscan(List<File> classPath)voidsetScanForNestedJARs(boolean scanForNestedJars)
-
-
-
Field Detail
-
scanForNestedJARs
protected boolean scanForNestedJARs
-
callback
protected final ClassPathScanner.Callback callback
-
-
Constructor Detail
-
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback)
-
ClassPathScanner
public ClassPathScanner(ClassPathScanner.Callback callback, boolean scanForNestedJars, String[] blackList)
-
-
Method Detail
-
setScanForNestedJARs
public void setScanForNestedJARs(boolean scanForNestedJars)
-
extractNestedJars
public Collection<BundleFile> extractNestedJars(BundleFile bf, File nestedBundlesDir) throws IOException
- Throws:
IOException
-
-