Class PepperOSGiRunner

    • Field Detail

      • ENV_PEPPER_WORKFLOW_FILE

        public static final String ENV_PEPPER_WORKFLOW_FILE
        name of environment variable, which is supposed to contain the workflow description file
        See Also:
        Constant Field Values
      • ARG_COMMAND_LINE_PARAMS

        public static final String ARG_COMMAND_LINE_PARAMS
        params passed to this application
        See Also:
        Constant Field Values
      • ARG_SELFTEST

        public static final String ARG_SELFTEST
        argument on command line call to determine, that pepper should make a self test
        See Also:
        Constant Field Values
    • Constructor Detail

      • PepperOSGiRunner

        public PepperOSGiRunner()
    • Method Detail

      • unsetPepper

        public void unsetPepper​(Pepper pepperConverter)
        Unsets the Pepper object to do the conversion task. Which means, it sets This method can be called automatically by the OSGi declarative services framework or manually.
        Parameters:
        pepperConverter -
      • setPepper

        public void setPepper​(Pepper pepperConverter)
        Sets the Pepper object to do the conversion task. This method can be called automatically by the OSGi declarative services framework or manually.
        Parameters:
        pepperConverter -
      • getPepper

        public Pepper getPepper()
        Returns Pepper registered Pepper object. Registered either automatically by OSGi or manually, both by calling setPepper(Pepper).
        Returns:
        Pepper object.
      • activate

        protected void activate​(org.osgi.service.component.ComponentContext componentContext)
        Method is called by OSGi framework, when bundle is activated.
        This method is the entry point, for starting pepper inside an OSGi environment.
        Parameters:
        componentContext - reference to the OSGi environment
      • deactivate

        protected void deactivate​(org.osgi.service.component.ComponentContext componentContext)
        Method is called by OSGi framework, when bundle is deactivated. This could happen, if the user deactivates the bundle manually or, the entire OSGi environment stopped.
        This method currently does nothing.
        Parameters:
        componentContext - reference to the OSGi environment