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)
MainListener
beforeStart
in interface MainListener
main
- the main instancepublic void configure(CamelContext context)
MainListener
configure
in interface MainListener
context
- the created CamelContextpublic void afterStart(MainSupport main)
MainListener
afterStart
in interface MainListener
main
- the main instancepublic void beforeStop(MainSupport main)
MainListener
beforeStop
in interface MainListener
main
- the main instancepublic void afterStop(MainSupport main)
MainListener
afterStop
in interface MainListener
main
- the main instanceApache Camel