Class 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.
    • Constructor Detail

      • KarafBoot

        public KarafBoot()
    • Method Detail

      • 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)
      • 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