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.spi.RouteContext routeContext,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder) |
void |
onErrorHandlerRemove(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.Processor errorHandler,
org.apache.camel.ErrorHandlerFactory errorHandlerBuilder) |
void |
onRouteContextCreate(org.apache.camel.spi.RouteContext routeContext) |
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.LifecycleStrategy
org.apache.camel.VetoCamelContextStartException
public void onContextStop(org.apache.camel.CamelContext context)
onContextStop
in interface org.apache.camel.spi.LifecycleStrategy
public void onComponentAdd(String name, org.apache.camel.Component component)
onComponentAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onComponentRemove(String name, org.apache.camel.Component component)
onComponentRemove
in interface org.apache.camel.spi.LifecycleStrategy
public void onEndpointAdd(org.apache.camel.Endpoint endpoint)
onEndpointAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onEndpointRemove(org.apache.camel.Endpoint endpoint)
onEndpointRemove
in interface org.apache.camel.spi.LifecycleStrategy
public void onServiceAdd(org.apache.camel.CamelContext context, org.apache.camel.Service service, org.apache.camel.Route route)
onServiceAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onServiceRemove(org.apache.camel.CamelContext context, org.apache.camel.Service service, org.apache.camel.Route route)
onServiceRemove
in interface org.apache.camel.spi.LifecycleStrategy
public void onRoutesAdd(Collection<org.apache.camel.Route> routes)
onRoutesAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onRoutesRemove(Collection<org.apache.camel.Route> routes)
onRoutesRemove
in interface org.apache.camel.spi.LifecycleStrategy
public void onRouteContextCreate(org.apache.camel.spi.RouteContext routeContext)
onRouteContextCreate
in interface org.apache.camel.spi.LifecycleStrategy
public void onErrorHandlerAdd(org.apache.camel.spi.RouteContext routeContext, org.apache.camel.Processor errorHandler, org.apache.camel.ErrorHandlerFactory errorHandlerBuilder)
onErrorHandlerAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onErrorHandlerRemove(org.apache.camel.spi.RouteContext routeContext, org.apache.camel.Processor errorHandler, org.apache.camel.ErrorHandlerFactory errorHandlerBuilder)
onErrorHandlerRemove
in interface org.apache.camel.spi.LifecycleStrategy
public void onThreadPoolAdd(org.apache.camel.CamelContext camelContext, ThreadPoolExecutor threadPool, String id, String sourceId, String routeId, String threadPoolProfileId)
onThreadPoolAdd
in interface org.apache.camel.spi.LifecycleStrategy
public void onThreadPoolRemove(org.apache.camel.CamelContext camelContext, ThreadPoolExecutor threadPool)
onThreadPoolRemove
in interface org.apache.camel.spi.LifecycleStrategy
Apache Camel