org.nuxeo.osgi.application
Class ApplicationBundleLoader
java.lang.Object
org.nuxeo.osgi.application.ApplicationBundleLoader
public class ApplicationBundleLoader
- extends Object
- Author:
- Bogdan Stefanescu
ApplicationBundleLoader
public ApplicationBundleLoader(StandaloneApplication app)
ApplicationBundleLoader
public ApplicationBundleLoader(StandaloneApplication app,
boolean useCache)
setScanForNestedJARs
public void setScanForNestedJARs(boolean scanForNestedJARs)
getScanForNestedJARs
public boolean getScanForNestedJARs()
setExtractNestedJARs
public void setExtractNestedJARs(boolean extractNestedJARs)
getExtractNestedJARs
public boolean getExtractNestedJARs()
setUseCache
public void setUseCache(boolean useCache)
getUseCache
public boolean getUseCache()
getBundleLoader
public StandaloneBundleLoader getBundleLoader()
getCacheFile
public File getCacheFile()
loadBundles
public ClassLoader loadBundles(List<File> classPath)
throws Exception
- Throws:
Exception
scanAndLoad
public void scanAndLoad(List<File> classPath,
List<BundleFile> bundles,
List<BundleFile> jars)
writeCache
public static void writeCache(File file,
List<BundleFile> bundles,
List<BundleFile> jars)
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
fastLoad
public void fastLoad(File file)
throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.