Class NuxeoApp


  • public class NuxeoApp
    extends Object
    Nuxeo Runtime launcher.

    This launcher assumes all bundles are already on the classpath.

    Author:
    Bogdan Stefanescu
    • Constructor Detail

      • NuxeoApp

        public NuxeoApp()
      • NuxeoApp

        public NuxeoApp​(File home)
    • Method Detail

      • getDefaultClassLoader

        public static ClassLoader getDefaultClassLoader()
      • 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()
      • makeFile

        public static File makeFile​(File baseDir,
                                    String path)
      • fireFrameworkStarted

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