Package org.apache.camel.main
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 forMainListenerimplementations.
-
-
Constructor Summary
Constructors Constructor Description MainListenerSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterConfigure(BaseMainSupport main)Callback 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.voidbeforeConfigure(BaseMainSupport main)Callback invoked after the the CamelContext has been created and before the auto-configured step starts.voidbeforeInitialize(BaseMainSupport main)Callback invoked after the 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.voidconfigure(org.apache.camel.CamelContext context)Deprecated.
-
-
-
Method Detail
-
beforeInitialize
public void beforeInitialize(BaseMainSupport main)
Description copied from interface:MainListenerCallback invoked after the the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeInitializein interfaceMainListener- Parameters:
main- the main instance
-
beforeConfigure
public void beforeConfigure(BaseMainSupport main)
Description copied from interface:MainListenerCallback invoked after the the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeConfigurein interfaceMainListener- Parameters:
main- the main instance
-
afterConfigure
public void afterConfigure(BaseMainSupport main)
Description copied from interface:MainListenerCallback to configure the created CamelContext.- Specified by:
afterConfigurein interfaceMainListener- Parameters:
main- the main instance
-
configure
@Deprecated public void configure(org.apache.camel.CamelContext context)
Deprecated.- Specified by:
configurein interfaceMainListener
-
beforeStart
public void beforeStart(BaseMainSupport main)
Description copied from interface:MainListenerCallback before the CamelContext is being created and started.- Specified by:
beforeStartin interfaceMainListener- Parameters:
main- the main instance
-
afterStart
public void afterStart(BaseMainSupport main)
Description copied from interface:MainListenerCallback after the CamelContext has been started.- Specified by:
afterStartin interfaceMainListener- Parameters:
main- the main instance
-
beforeStop
public void beforeStop(BaseMainSupport main)
Description copied from interface:MainListenerCallback before the CamelContext is being stopped.- Specified by:
beforeStopin interfaceMainListener- Parameters:
main- the main instance
-
afterStop
public void afterStop(BaseMainSupport main)
Description copied from interface:MainListenerCallback after the CamelContext has been stopped.- Specified by:
afterStopin interfaceMainListener- Parameters:
main- the main instance
-
-