Class KarafBoot

java.lang.Object
org.pentaho.platform.osgi.KarafBoot
All Implemented Interfaces:
org.pentaho.platform.api.engine.IPentahoSystemListener
Direct Known Subclasses:
OSGIBoot

public class KarafBoot extends Object implements org.pentaho.platform.api.engine.IPentahoSystemListener
This Pentaho SystemListener starts the Embedded Karaf framework to support OSGI in the platform.
  • Field Details

  • Constructor Details

    • KarafBoot

      public KarafBoot()
  • Method Details

    • startup

      public boolean startup(org.pentaho.platform.api.engine.IPentahoSession session)
      Specified by:
      startup in interface org.pentaho.platform.api.engine.IPentahoSystemListener
    • deleteRecursiveIfExists

      protected void deleteRecursiveIfExists(File item)
    • createAndProcessKarafInstance

      protected KarafInstance createAndProcessKarafInstance(String root) throws FileNotFoundException, KarafInstanceResolverException
      Throws:
      FileNotFoundException
      KarafInstanceResolverException
    • configureSystemProperties

      protected void configureSystemProperties(String solutionRootPath, String root)
    • fillMissedSystemProperty

      protected void fillMissedSystemProperty(String propertyName, String propertyValue)
      If property with propertyName does not exist, than set property with value propertyValue
      Parameters:
      propertyName - - property for check
      propertyValue - - value to set if property null
    • translateToExtraKettleEtc

      protected String translateToExtraKettleEtc(org.pentaho.di.core.KettleClientEnvironment.ClientType clientType)
    • getClientType

      protected org.pentaho.di.core.KettleClientEnvironment.ClientType getClientType()
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.pentaho.platform.api.engine.IPentahoSystemListener