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, setScanForNestedJARs
public 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 ApplicationLoader
org.osgi.framework.BundleException
public void loadBundle(BundleFile bundleFile)
loadBundle
in class ApplicationLoader
public void loadJAR(BundleFile bundleFile)
loadJAR
in class ApplicationLoader
Copyright © 2013 Nuxeo SA. All Rights Reserved.