Nuxeo Enterprise Platform 5.4

org.nuxeo.osgi.application
Class ClassPathScanner

java.lang.Object
  extended by org.nuxeo.osgi.application.ClassPathScanner

public class ClassPathScanner
extends java.lang.Object

Author:
Bogdan Stefanescu

Nested Class Summary
static interface ClassPathScanner.Callback
           
 
Constructor Summary
ClassPathScanner(ClassPathScanner.Callback callback)
           
ClassPathScanner(ClassPathScanner.Callback callback, boolean scanForNestedJars, java.lang.String[] blackList)
           
 
Method Summary
 java.util.Collection<BundleFile> extractNestedJars(BundleFile bf, java.io.File nestedBundlesDir)
           
 void scan(java.io.File file)
           
 void scan(java.util.List<java.io.File> classPath)
          FIXME: this javadoc is not correct.
 void setScanForNestedJARs(boolean scanForNestedJars)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathScanner

public ClassPathScanner(ClassPathScanner.Callback callback)

ClassPathScanner

public ClassPathScanner(ClassPathScanner.Callback callback,
                        boolean scanForNestedJars,
                        java.lang.String[] blackList)
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.