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 forMainListener
implementations.
-
-
Constructor Summary
Constructors Constructor Description MainListenerSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
afterConfigure(BaseMainSupport main)
Callback to configure the created CamelContext.void
afterStart(BaseMainSupport main)
Callback after the CamelContext has been started.void
afterStop(BaseMainSupport main)
Callback after the CamelContext has been stopped.void
beforeConfigure(BaseMainSupport main)
Callback invoked after the the CamelContext has been created and before the auto-configured step starts.void
beforeInitialize(BaseMainSupport main)
Callback invoked after the the CamelContext has been created and before the auto-configured step starts.void
beforeStart(BaseMainSupport main)
Callback before the CamelContext is being created and started.void
beforeStop(BaseMainSupport main)
Callback before the CamelContext is being stopped.void
configure(org.apache.camel.CamelContext context)
Deprecated.
-
-
-
Method Detail
-
beforeInitialize
public void beforeInitialize(BaseMainSupport main)
Description copied from interface:MainListener
Callback invoked after the the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeInitialize
in interfaceMainListener
- Parameters:
main
- the main instance
-
beforeConfigure
public void beforeConfigure(BaseMainSupport main)
Description copied from interface:MainListener
Callback invoked after the the CamelContext has been created and before the auto-configured step starts.- Specified by:
beforeConfigure
in interfaceMainListener
- 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 interfaceMainListener
- Parameters:
main
- the main instance
-
configure
@Deprecated public void configure(org.apache.camel.CamelContext context)
Deprecated.- Specified by:
configure
in interfaceMainListener
-
beforeStart
public void beforeStart(BaseMainSupport main)
Description copied from interface:MainListener
Callback before the CamelContext is being created and started.- Specified by:
beforeStart
in interfaceMainListener
- 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 interfaceMainListener
- 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 interfaceMainListener
- 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 interfaceMainListener
- Parameters:
main
- the main instance
-
-