Class ApplicationBundleLoader

java.lang.Object
org.nuxeo.osgi.application.ApplicationBundleLoader

public class ApplicationBundleLoader extends Object
Author:
Bogdan Stefanescu
  • Field Details

    • bundleLoader

      protected StandaloneBundleLoader bundleLoader
    • app

      protected final StandaloneApplication app
    • useCache

      protected boolean useCache
    • extractNestedJARs

      protected boolean extractNestedJARs
    • scanForNestedJARs

      protected boolean scanForNestedJARs
  • Constructor Details

  • Method Details

    • 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 IOException, org.osgi.framework.BundleException
      Throws:
      IOException
      org.osgi.framework.BundleException
    • 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 IOException
      Throws:
      IOException
    • fastLoad

      public void fastLoad(File file) throws IOException, org.osgi.framework.BundleException
      Throws:
      IOException
      org.osgi.framework.BundleException
    • aboutToStartRuntime

      protected void aboutToStartRuntime()
    • runtimeStarted

      protected void runtimeStarted()