Class NuxeoApp

java.lang.Object
org.nuxeo.osgi.application.client.NuxeoApp

public class NuxeoApp extends Object
Nuxeo Runtime launcher.

This launcher assumes all bundles are already on the classpath.

Author:
Bogdan Stefanescu
  • Field Details

  • Constructor Details

    • NuxeoApp

      public NuxeoApp()
    • NuxeoApp

      public NuxeoApp(File home)
    • NuxeoApp

      public NuxeoApp(File home, ClassLoader loader)
  • Method Details

    • getDefaultClassLoader

      public static ClassLoader getDefaultClassLoader()
    • getLoader

      public ClassLoader getLoader()
    • getEnvironment

      public Environment getEnvironment()
    • deployBundles

      public void deployBundles(String bundlePath) throws org.osgi.framework.BundleException, IOException
      Throws:
      org.osgi.framework.BundleException
      IOException
    • deployBundles

      public void deployBundles(File baseDir, String bundlePath) throws org.osgi.framework.BundleException, IOException
      Throws:
      org.osgi.framework.BundleException
      IOException
    • deployBundles

      public void deployBundles(Collection<File> files) throws org.osgi.framework.BundleException, IOException
      Throws:
      org.osgi.framework.BundleException
      IOException
    • deployBundle

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

      public void start()
    • isStarted

      public boolean isStarted()
    • getOsgi

      public OSGiAdapter getOsgi()
    • shutdown

      public void shutdown() throws IOException
      Throws:
      IOException
    • getBundleFiles

      public static Collection<File> getBundleFiles(File baseDir, String bundles, String delim) throws IOException
      Throws:
      IOException
    • makeFile

      public static File makeFile(File baseDir, String path)
    • expandFiles

      public static List<File> expandFiles(File baseDir, String line)
    • fireFrameworkStarted

      public void fireFrameworkStarted() throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException