public abstract class LifecycleStrategySupport extends Object implements org.apache.camel.spi.LifecycleStrategy
LifecycleStrategy implementations.| Constructor and Description |
|---|
LifecycleStrategySupport() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextEvent handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextInitialized handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextInitializing handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStart handler)
Deprecated.
|
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStarted handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStarting handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStop handler)
Deprecated.
|
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStopped handler) |
static org.apache.camel.spi.LifecycleStrategy |
adapt(org.apache.camel.spi.OnCamelContextStopping handler) |
static org.apache.camel.spi.OnCamelContextInitialized |
onCamelContextInitialized(Consumer<org.apache.camel.CamelContext> consumer) |
static org.apache.camel.spi.OnCamelContextInitializing |
onCamelContextInitializing(Consumer<org.apache.camel.CamelContext> consumer) |
static org.apache.camel.spi.OnCamelContextStart |
onCamelContextStart(Consumer<org.apache.camel.CamelContext> consumer)
Deprecated.
|
static org.apache.camel.spi.OnCamelContextStarted |
onCamelContextStarted(Consumer<org.apache.camel.CamelContext> consumer) |
static org.apache.camel.spi.OnCamelContextStarting |
onCamelContextStarting(Consumer<org.apache.camel.CamelContext> consumer) |
static org.apache.camel.spi.OnCamelContextStop |
onCamelContextStop(Consumer<org.apache.camel.CamelContext> consumer)
Deprecated.
|
static org.apache.camel.spi.OnCamelContextStopped |
onCamelContextStopped(Consumer<org.apache.camel.CamelContext> consumer) |
static org.apache.camel.spi.OnCamelContextStopping |
onCamelContextStopping(Consumer<org.apache.camel.CamelContext> consumer) |
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)
Deprecated.
see
LifecycleStrategy.onContextStart(CamelContext) |
void |
onContextStop(org.apache.camel.CamelContext context)
Deprecated.
see
LifecycleStrategy.onContextStop(CamelContext) |
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 static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextEvent handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextInitializing handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextInitialized handler)
@Deprecated public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStart handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStarting handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStarted handler)
@Deprecated public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStop handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStopping handler)
public static org.apache.camel.spi.LifecycleStrategy adapt(org.apache.camel.spi.OnCamelContextStopped handler)
public static org.apache.camel.spi.OnCamelContextInitializing onCamelContextInitializing(Consumer<org.apache.camel.CamelContext> consumer)
public static org.apache.camel.spi.OnCamelContextInitialized onCamelContextInitialized(Consumer<org.apache.camel.CamelContext> consumer)
@Deprecated public static org.apache.camel.spi.OnCamelContextStart onCamelContextStart(Consumer<org.apache.camel.CamelContext> consumer)
public static org.apache.camel.spi.OnCamelContextStarting onCamelContextStarting(Consumer<org.apache.camel.CamelContext> consumer)
public static org.apache.camel.spi.OnCamelContextStarted onCamelContextStarted(Consumer<org.apache.camel.CamelContext> consumer)
@Deprecated public static org.apache.camel.spi.OnCamelContextStop onCamelContextStop(Consumer<org.apache.camel.CamelContext> consumer)
public static org.apache.camel.spi.OnCamelContextStopping onCamelContextStopping(Consumer<org.apache.camel.CamelContext> consumer)
public static org.apache.camel.spi.OnCamelContextStopped onCamelContextStopped(Consumer<org.apache.camel.CamelContext> consumer)
@Deprecated public void onContextStart(org.apache.camel.CamelContext context) throws org.apache.camel.VetoCamelContextStartException
LifecycleStrategy.onContextStart(CamelContext)onContextStart in interface org.apache.camel.spi.LifecycleStrategyorg.apache.camel.VetoCamelContextStartException@Deprecated public void onContextStop(org.apache.camel.CamelContext context)
LifecycleStrategy.onContextStop(CamelContext)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