Class MainListenerSupport

java.lang.Object
org.apache.camel.main.MainListenerSupport
All Implemented Interfaces:
MainListener

public class MainListenerSupport extends Object implements MainListener
A useful base class for MainListener implementations.
  • Constructor Details

    • MainListenerSupport

      public MainListenerSupport()
  • Method Details

    • beforeInitialize

      public void beforeInitialize(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback invoked after the CamelContext has been created and before the auto-configured step starts.
      Specified by:
      beforeInitialize in interface MainListener
      Parameters:
      main - the main instance
    • beforeConfigure

      public void beforeConfigure(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback invoked after the CamelContext has been created and before the auto-configured step starts.
      Specified by:
      beforeConfigure in interface MainListener
      Parameters:
      main - the main instance
    • afterConfigure

      public void afterConfigure(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback to configure the created CamelContext.
      Specified by:
      afterConfigure in interface MainListener
      Parameters:
      main - the main instance
    • beforeStart

      public void beforeStart(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback before the CamelContext is being created and started.
      Specified by:
      beforeStart in interface MainListener
      Parameters:
      main - the main instance
    • afterStart

      public void afterStart(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback after the CamelContext has been started.
      Specified by:
      afterStart in interface MainListener
      Parameters:
      main - the main instance
    • beforeStop

      public void beforeStop(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback before the CamelContext is being stopped.
      Specified by:
      beforeStop in interface MainListener
      Parameters:
      main - the main instance
    • afterStop

      public void afterStop(BaseMainSupport main)
      Description copied from interface: MainListener
      Callback after the CamelContext has been stopped.
      Specified by:
      afterStop in interface MainListener
      Parameters:
      main - the main instance