Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.osgi.application
Class StandaloneBundleLoader

java.lang.Object
  extended by org.nuxeo.osgi.application.ApplicationLoader
      extended by org.nuxeo.osgi.application.StandaloneBundleLoader

public class StandaloneBundleLoader
extends ApplicationLoader

Author:
Bogdan Stefanescu

Nested Class Summary
 
Nested classes/interfaces inherited from class org.nuxeo.osgi.application.ApplicationLoader
ApplicationLoader.BundleFileLoader, ApplicationLoader.BundleFileScanner, ApplicationLoader.BundleInstaller, ApplicationLoader.DefaultCallback
 
Constructor Summary
StandaloneBundleLoader(OSGiAdapter osgi)
           
StandaloneBundleLoader(OSGiAdapter osgi, ClassLoader parentLoader)
           
StandaloneBundleLoader(OSGiAdapter osgi, SharedClassLoader scl)
           
 
Method Summary
 SharedClassLoader getSharedClassLoader()
           
 void installBundle(BundleFile bundleFile)
           
 void loadBundle(BundleFile bundleFile)
           
 void loadJAR(BundleFile bundleFile)
           
static void main(String[] args)
           
 void setSharedClassLoader(SharedClassLoader loader)
           
 
Methods inherited from class org.nuxeo.osgi.application.ApplicationLoader
getExtractNestedJARs, getNestedBundleDirectory, getOSGi, getPatterns, getScanForNestedJARs, install, installAll, load, scan, setExtractNestedJARs, setPatterns, setScanForNestedJARs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneBundleLoader

public StandaloneBundleLoader(OSGiAdapter osgi)

StandaloneBundleLoader

public StandaloneBundleLoader(OSGiAdapter osgi,
                              ClassLoader parentLoader)

StandaloneBundleLoader

public StandaloneBundleLoader(OSGiAdapter osgi,
                              SharedClassLoader scl)
Method Detail

setSharedClassLoader

public void setSharedClassLoader(SharedClassLoader loader)

getSharedClassLoader

public SharedClassLoader getSharedClassLoader()

installBundle

public void installBundle(BundleFile bundleFile)
                   throws org.osgi.framework.BundleException
Specified by:
installBundle in class ApplicationLoader
Throws:
org.osgi.framework.BundleException

loadBundle

public void loadBundle(BundleFile bundleFile)
Specified by:
loadBundle in class ApplicationLoader

loadJAR

public void loadJAR(BundleFile bundleFile)
Specified by:
loadJAR in class ApplicationLoader

main

public static void main(String[] args)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.