Class Application.ListenerAdapter

  • All Implemented Interfaces:
    org.apache.camel.main.MainListener
    Enclosing class:
    Application

    public static class Application.ListenerAdapter
    extends Object
    implements org.apache.camel.main.MainListener
    Adapts main events to camel-k runtime lifecycle
    • Constructor Detail

      • ListenerAdapter

        public ListenerAdapter​(List<org.apache.camel.k.Runtime.Listener> listeners)
    • Method Detail

      • beforeInitialize

        public void beforeInitialize​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        beforeInitialize in interface org.apache.camel.main.MainListener
      • beforeConfigure

        public void beforeConfigure​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        beforeConfigure in interface org.apache.camel.main.MainListener
      • afterConfigure

        public void afterConfigure​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        afterConfigure in interface org.apache.camel.main.MainListener
      • configure

        public void configure​(org.apache.camel.CamelContext context)
        Specified by:
        configure in interface org.apache.camel.main.MainListener
      • beforeStart

        public void beforeStart​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        beforeStart in interface org.apache.camel.main.MainListener
      • afterStart

        public void afterStart​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        afterStart in interface org.apache.camel.main.MainListener
      • beforeStop

        public void beforeStop​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        beforeStop in interface org.apache.camel.main.MainListener
      • afterStop

        public void afterStop​(org.apache.camel.main.BaseMainSupport main)
        Specified by:
        afterStop in interface org.apache.camel.main.MainListener