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 interface
ClassPathScanner.Callback
-
Field Summary
Fields Modifier and Type Field Description protected String[]
blackList
If set points to a set of path prefixes to be excluded form bundle processingprotected ClassPathScanner.Callback
callback
protected boolean
scanForNestedJARs
-
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)
void
scan(File file)
void
scan(List<File> classPath)
void
setScanForNestedJARs(boolean scanForNestedJars)
-
-
-
Field Detail
-
scanForNestedJARs
protected boolean scanForNestedJARs
-
callback
protected final ClassPathScanner.Callback callback
-
blackList
protected String[] blackList
If set points to a set of path prefixes to be excluded form bundle processing
-
-
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)
-
scan
public void scan(File file)
-
extractNestedJars
public Collection<BundleFile> extractNestedJars(BundleFile bf, File nestedBundlesDir) throws IOException
- Throws:
IOException
-
-