|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleStrategy
Strategy for lifecycle notifications.
| Method Summary | |
|---|---|
void |
onComponentAdd(String name,
Component component)
Notification on adding an Component. |
void |
onComponentRemove(String name,
Component component)
Notification on removing an Component. |
void |
onContextStart(CamelContext context)
Notification on starting a CamelContext. |
void |
onContextStop(CamelContext context)
Notification on stopping a CamelContext. |
void |
onEndpointAdd(Endpoint endpoint)
Notification on adding an Endpoint. |
void |
onEndpointRemove(Endpoint endpoint)
Notification on removing an Endpoint. |
void |
onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerBuilder errorHandlerBuilder)
Notification on adding error handler. |
void |
onRouteContextCreate(RouteContext routeContext)
Notification on adding RouteContext(s). |
void |
onRoutesAdd(Collection<Route> routes)
Notification on adding Route(s). |
void |
onRoutesRemove(Collection<Route> routes)
Notification on removing Route(s). |
void |
onServiceAdd(CamelContext context,
Service service,
Route route)
Notification on adding a Service. |
void |
onServiceRemove(CamelContext context,
Service service,
Route route)
Notification on removing a Service. |
void |
onThreadPoolAdd(CamelContext camelContext,
ThreadPoolExecutor threadPool)
Notification on adding a thread pool. |
| Method Detail |
|---|
void onContextStart(CamelContext context)
CamelContext.
context - the camel contextvoid onContextStop(CamelContext context)
CamelContext.
context - the camel context
void onComponentAdd(String name,
Component component)
Component.
name - the unique name of this componentcomponent - the added component
void onComponentRemove(String name,
Component component)
Component.
name - the unique name of this componentcomponent - the removed componentvoid onEndpointAdd(Endpoint endpoint)
Endpoint.
endpoint - the added endpointvoid onEndpointRemove(Endpoint endpoint)
Endpoint.
endpoint - the removed endpoint
void onServiceAdd(CamelContext context,
Service service,
Route route)
Service.
context - the camel contextservice - the added serviceroute - the route the service belongs to if any possible to determine
void onServiceRemove(CamelContext context,
Service service,
Route route)
Service.
context - the camel contextservice - the removed serviceroute - the route the service belongs to if any possible to determinevoid onRoutesAdd(Collection<Route> routes)
Route(s).
routes - the added routesvoid onRoutesRemove(Collection<Route> routes)
Route(s).
routes - the removed routesvoid onRouteContextCreate(RouteContext routeContext)
RouteContext(s).
routeContext - the added route context
void onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerBuilder errorHandlerBuilder)
routeContext - the added route contexterrorHandler - the error handlererrorHandlerBuilder - the error handler builder
void onThreadPoolAdd(CamelContext camelContext,
ThreadPoolExecutor threadPool)
camelContext - the camel contextthreadPool - the thread pool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||