Package org.apache.camel.main
Class MainListenerSupport
java.lang.Object
org.apache.camel.main.MainListenerSupport
- All Implemented Interfaces:
MainListener
A useful base class for
MainListener implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback to configure the created CamelContext.voidafterStart(BaseMainSupport main) Callback after the CamelContext has been started.voidafterStop(BaseMainSupport main) Callback after the CamelContext has been stopped.voidCallback invoked after the CamelContext has been created and before the auto-configured step starts.voidCallback invoked after the CamelContext has been created and before the auto-configured step starts.voidbeforeStart(BaseMainSupport main) Callback before the CamelContext is being created and started.voidbeforeStop(BaseMainSupport main) Callback before the CamelContext is being stopped.
-
Constructor Details
-
MainListenerSupport
public MainListenerSupport()
-
-
Method Details
-
beforeInitialize
Description copied from interface:MainListenerCallback invoked after the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeInitializein interfaceMainListener- Parameters:
main- the main instance
-
beforeConfigure
Description copied from interface:MainListenerCallback invoked after the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeConfigurein interfaceMainListener- Parameters:
main- the main instance
-
afterConfigure
Description copied from interface:MainListenerCallback to configure the created CamelContext.- Specified by:
afterConfigurein interfaceMainListener- Parameters:
main- the main instance
-
beforeStart
Description copied from interface:MainListenerCallback before the CamelContext is being created and started.- Specified by:
beforeStartin interfaceMainListener- Parameters:
main- the main instance
-
afterStart
Description copied from interface:MainListenerCallback after the CamelContext has been started.- Specified by:
afterStartin interfaceMainListener- Parameters:
main- the main instance
-
beforeStop
Description copied from interface:MainListenerCallback before the CamelContext is being stopped.- Specified by:
beforeStopin interfaceMainListener- Parameters:
main- the main instance
-
afterStop
Description copied from interface:MainListenerCallback after the CamelContext has been stopped.- Specified by:
afterStopin interfaceMainListener- Parameters:
main- the main instance
-