public class StandaloneBundleLoader extends ApplicationLoader
ApplicationLoader.BundleFileLoader, ApplicationLoader.BundleFileScanner, ApplicationLoader.BundleInstaller, ApplicationLoader.DefaultCallback| Constructor and Description |
|---|
StandaloneBundleLoader(OSGiAdapter osgi) |
StandaloneBundleLoader(OSGiAdapter osgi,
ClassLoader parentLoader) |
StandaloneBundleLoader(OSGiAdapter osgi,
SharedClassLoader scl) |
| Modifier and Type | Method and Description |
|---|---|
SharedClassLoader |
getSharedClassLoader() |
void |
installBundle(BundleFile bundleFile) |
void |
loadBundle(BundleFile bundleFile) |
void |
loadJAR(BundleFile bundleFile) |
static void |
main(String[] args) |
void |
setSharedClassLoader(SharedClassLoader loader) |
getExtractNestedJARs, getNestedBundleDirectory, getOSGi, getPatterns, getScanForNestedJARs, install, installAll, load, scan, setExtractNestedJARs, setPatterns, setScanForNestedJARspublic StandaloneBundleLoader(OSGiAdapter osgi)
public StandaloneBundleLoader(OSGiAdapter osgi, ClassLoader parentLoader)
public StandaloneBundleLoader(OSGiAdapter osgi, SharedClassLoader scl)
public void setSharedClassLoader(SharedClassLoader loader)
public SharedClassLoader getSharedClassLoader()
public void installBundle(BundleFile bundleFile) throws org.osgi.framework.BundleException
installBundle in class ApplicationLoaderorg.osgi.framework.BundleExceptionpublic void loadBundle(BundleFile bundleFile)
loadBundle in class ApplicationLoaderpublic void loadJAR(BundleFile bundleFile)
loadJAR in class ApplicationLoaderpublic static void main(String[] args)
Copyright © 2012 Nuxeo SA. All Rights Reserved.