Class FrameworkLoader

java.lang.Object
org.nuxeo.osgi.application.loader.FrameworkLoader

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

  • Constructor Details

    • FrameworkLoader

      public FrameworkLoader()
  • Method Details

    • osgi

      public static OSGiAdapter osgi()
    • getLoader

      public static ClassLoader getLoader()
    • initialize

      public static void initialize(ClassLoader cl, File home, List<File> bundleFiles, Map<String,Object> hostEnv)
    • start

      public static void start() throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • stop

      public static void stop() throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • printDeploymentOrderInfo

      protected static void printDeploymentOrderInfo(List<File> files)
    • isBundle

      protected static boolean isBundle(File f)
    • uninstall

      public static void uninstall(String symbolicName) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • install

      public static String install(File f) throws IOException, org.osgi.framework.BundleException
      Throws:
      IOException
      org.osgi.framework.BundleException
    • preprocess

      public static void preprocess()
    • loadSystemProperties

      protected static void loadSystemProperties()
    • getEnvProperty

      protected static String getEnvProperty(String key, Map<String,Object> hostEnv, Properties sysprops, boolean addToSystemProperties)
    • createEnvironment

      protected static Environment createEnvironment(File home, Map<String,Object> hostEnv)
    • printStartMessage

      protected static void printStartMessage()
    • getStartMessage

      protected static StringBuilder getStartMessage()
      Returns:
      Environment summary
      Since:
      5.5