public abstract class LifecycleStrategySupport extends Object implements org.apache.camel.spi.LifecycleStrategy
LifecycleStrategy implementations.| Constructor and Description |
|---|
LifecycleStrategySupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
onComponentAdd(String name,
org.apache.camel.Component component) |
void |
onComponentRemove(String name,
org.apache.camel.Component component) |
void |
onContextStart(org.apache.camel.CamelContext context) |
void |
onContextStop(org.apache.camel.CamelContext context) |
void |
onEndpointAdd(org.apache.camel.Endpoint endpoint) |
void |
onEndpointRemove(org.apache.camel.Endpoint endpoint) |
void |
onErrorHandlerAdd(org.apache.camel.Route route,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder) |
void |
onErrorHandlerRemove(org.apache.camel.Route route,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder) |
void |
onRouteContextCreate(org.apache.camel.Route route) |
void |
onRoutesAdd(Collection<org.apache.camel.Route> routes) |
void |
onRoutesRemove(Collection<org.apache.camel.Route> routes) |
void |
onServiceAdd(org.apache.camel.CamelContext context,
org.apache.camel.Service service,
org.apache.camel.Route route) |
void |
onServiceRemove(org.apache.camel.CamelContext context,
org.apache.camel.Service service,
org.apache.camel.Route route) |
void |
onThreadPoolAdd(org.apache.camel.CamelContext camelContext,
ThreadPoolExecutor threadPool,
String id,
String sourceId,
String routeId,
String threadPoolProfileId) |
void |
onThreadPoolRemove(org.apache.camel.CamelContext camelContext,
ThreadPoolExecutor threadPool) |
public void onContextStart(org.apache.camel.CamelContext context)
throws org.apache.camel.VetoCamelContextStartException
onContextStart in interface org.apache.camel.spi.LifecycleStrategyorg.apache.camel.VetoCamelContextStartExceptionpublic void onContextStop(org.apache.camel.CamelContext context)
onContextStop in interface org.apache.camel.spi.LifecycleStrategypublic void onComponentAdd(String name, org.apache.camel.Component component)
onComponentAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onComponentRemove(String name, org.apache.camel.Component component)
onComponentRemove in interface org.apache.camel.spi.LifecycleStrategypublic void onEndpointAdd(org.apache.camel.Endpoint endpoint)
onEndpointAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onEndpointRemove(org.apache.camel.Endpoint endpoint)
onEndpointRemove in interface org.apache.camel.spi.LifecycleStrategypublic void onServiceAdd(org.apache.camel.CamelContext context,
org.apache.camel.Service service,
org.apache.camel.Route route)
onServiceAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onServiceRemove(org.apache.camel.CamelContext context,
org.apache.camel.Service service,
org.apache.camel.Route route)
onServiceRemove in interface org.apache.camel.spi.LifecycleStrategypublic void onRoutesAdd(Collection<org.apache.camel.Route> routes)
onRoutesAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onRoutesRemove(Collection<org.apache.camel.Route> routes)
onRoutesRemove in interface org.apache.camel.spi.LifecycleStrategypublic void onRouteContextCreate(org.apache.camel.Route route)
onRouteContextCreate in interface org.apache.camel.spi.LifecycleStrategypublic void onErrorHandlerAdd(org.apache.camel.Route route,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder)
onErrorHandlerAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onErrorHandlerRemove(org.apache.camel.Route route,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder)
onErrorHandlerRemove in interface org.apache.camel.spi.LifecycleStrategypublic void onThreadPoolAdd(org.apache.camel.CamelContext camelContext,
ThreadPoolExecutor threadPool,
String id,
String sourceId,
String routeId,
String threadPoolProfileId)
onThreadPoolAdd in interface org.apache.camel.spi.LifecycleStrategypublic void onThreadPoolRemove(org.apache.camel.CamelContext camelContext,
ThreadPoolExecutor threadPool)
onThreadPoolRemove in interface org.apache.camel.spi.LifecycleStrategyApache Camel