public class MainListenerSupport extends Object implements MainListener
MainListener implementations.| Constructor and Description |
|---|
MainListenerSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStart(MainSupport main)
Callback after the CamelContext(s) has been started.
|
void |
afterStop(MainSupport main)
Callback after the CamelContext(s) has been stopped.
|
void |
beforeStart(MainSupport main)
Callback before the CamelContext(s) is being created and started.
|
void |
beforeStop(MainSupport main)
Callback before the CamelContext(s) is being stopped.
|
void |
configure(CamelContext context)
Callback to configure each created CamelContext.
|
public MainListenerSupport()
public void beforeStart(MainSupport main)
MainListenerbeforeStart in interface MainListenermain - the main instancepublic void configure(CamelContext context)
MainListenerconfigure in interface MainListenercontext - the created CamelContextpublic void afterStart(MainSupport main)
MainListenerafterStart in interface MainListenermain - the main instancepublic void beforeStop(MainSupport main)
MainListenerbeforeStop in interface MainListenermain - the main instancepublic void afterStop(MainSupport main)
MainListenerafterStop in interface MainListenermain - the main instanceApache Camel