Class AbstractRunner

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

public abstract class AbstractRunner extends Object implements Callable<Integer>
Common functionality for the framework start.
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
  • Constructor Details

    • AbstractRunner

      public AbstractRunner(List<Object[]> configurations, List<URL> installables)
  • Method Details

    • setFeatureSupplier

      public void setFeatureSupplier(Supplier<String> supplier)
    • setBundleReporter

      public void setBundleReporter(BiConsumer<URL,Map<String,String>> reporter)
    • setupFramework

      protected void setupFramework(org.osgi.framework.launch.Framework framework, Map<Integer,List<URL>> bundlesMap) throws org.osgi.framework.BundleException
      Throws:
      org.osgi.framework.BundleException
    • startFramework

      protected boolean startFramework(org.osgi.framework.launch.Framework framework, long timeout, TimeUnit unit) throws org.osgi.framework.BundleException, InterruptedException
      Throws:
      org.osgi.framework.BundleException
      InterruptedException
    • finishStartup

      protected void finishStartup(org.osgi.framework.launch.Framework framework)