Package org.apache.camel.main
Class MainLifecycleStrategy
java.lang.Object
org.apache.camel.support.LifecycleStrategySupport
org.apache.camel.main.MainLifecycleStrategy
- All Implemented Interfaces:
org.apache.camel.spi.LifecycleStrategy
public class MainLifecycleStrategy
extends org.apache.camel.support.LifecycleStrategySupport
A
LifecycleStrategy to trigger shutdown of the Main JVM when CamelContext is
stopped from JMX or its stop method is invoked from Java code.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.support.LifecycleStrategySupport
adapt, adapt, adapt, adapt, adapt, adapt, adapt, doAutoWire, onCamelContextInitialized, onCamelContextInitializing, onCamelContextStarted, onCamelContextStarting, onCamelContextStopped, onCamelContextStopping, onComponentAdd, onComponentRemove, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemoveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.LifecycleStrategy
onContextInitialized, onContextInitializing, onContextStarted, onContextStarting, onContextStopped, onDataFormatCreated, onLanguageCreated
-
Constructor Details
-
MainLifecycleStrategy
-
-
Method Details
-
onContextStopping
public void onContextStopping(org.apache.camel.CamelContext context)
-