Class FrameworkRunner

java.lang.Object
org.apache.sling.feature.launcher.impl.launchers.AbstractRunner
org.apache.sling.feature.launcher.impl.launchers.FrameworkRunner
All Implemented Interfaces:
Callable<Integer>

public class FrameworkRunner extends AbstractRunner
Launcher directly using the OSGi launcher API.
  • Constructor Details

  • Method Details

    • getFrameworkFactory

      protected org.osgi.framework.launch.FrameworkFactory getFrameworkFactory() throws Exception
      Get the framework factory
      Returns:
      Return the first factory found via service loaders
      Throws:
      Exception - If no factory can be found
    • call

      public Integer call() throws Exception
      Throws:
      Exception