public class ApplicationBundleLoader extends Object
Constructor and Description |
---|
ApplicationBundleLoader(StandaloneApplication app) |
ApplicationBundleLoader(StandaloneApplication app,
boolean useCache) |
Modifier and Type | Method and Description |
---|---|
void |
fastLoad(File file) |
StandaloneBundleLoader |
getBundleLoader() |
File |
getCacheFile() |
boolean |
getExtractNestedJARs() |
boolean |
getScanForNestedJARs() |
boolean |
getUseCache() |
ClassLoader |
loadBundles(List<File> classPath) |
void |
scanAndLoad(List<File> classPath,
List<BundleFile> bundles,
List<BundleFile> jars) |
void |
setExtractNestedJARs(boolean extractNestedJARs) |
void |
setScanForNestedJARs(boolean scanForNestedJARs) |
void |
setUseCache(boolean useCache) |
static void |
writeCache(File file,
List<BundleFile> bundles,
List<BundleFile> jars) |
public ApplicationBundleLoader(StandaloneApplication app)
public ApplicationBundleLoader(StandaloneApplication app, boolean useCache)
public void setScanForNestedJARs(boolean scanForNestedJARs)
public boolean getScanForNestedJARs()
public void setExtractNestedJARs(boolean extractNestedJARs)
public boolean getExtractNestedJARs()
public void setUseCache(boolean useCache)
public boolean getUseCache()
public StandaloneBundleLoader getBundleLoader()
public File getCacheFile()
public ClassLoader loadBundles(List<File> classPath) throws IOException, org.osgi.framework.BundleException
IOException
org.osgi.framework.BundleException
public void scanAndLoad(List<File> classPath, List<BundleFile> bundles, List<BundleFile> jars)
public static void writeCache(File file, List<BundleFile> bundles, List<BundleFile> jars) throws IOException
IOException
public void fastLoad(File file) throws IOException, org.osgi.framework.BundleException
IOException
org.osgi.framework.BundleException
Copyright © 2013 Nuxeo SA. All Rights Reserved.