Package org.apache.camel.main
Class MainAutowiredLifecycleStrategy
java.lang.Object
org.apache.camel.support.LifecycleStrategySupport
org.apache.camel.main.MainAutowiredLifecycleStrategy
- All Implemented Interfaces:
org.apache.camel.Ordered
,org.apache.camel.spi.AutowiredLifecycleStrategy
,org.apache.camel.spi.LifecycleStrategy
public class MainAutowiredLifecycleStrategy
extends org.apache.camel.support.LifecycleStrategySupport
implements org.apache.camel.spi.AutowiredLifecycleStrategy, org.apache.camel.Ordered
-
Field Summary
Fields inherited from interface org.apache.camel.Ordered
HIGHEST, LOWEST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
protected boolean
protected boolean
protected boolean
void
onComponentAdd
(String name, org.apache.camel.Component component) void
onContextInitializing
(org.apache.camel.CamelContext context) void
onContextStopped
(org.apache.camel.CamelContext context) void
onDataFormatCreated
(String name, org.apache.camel.spi.DataFormat dataFormat) void
onLanguageCreated
(String name, org.apache.camel.spi.Language language) Methods inherited from class org.apache.camel.support.LifecycleStrategySupport
adapt, adapt, adapt, adapt, adapt, adapt, adapt, doAutoWire, onCamelContextInitialized, onCamelContextInitializing, onCamelContextStarted, onCamelContextStarting, onCamelContextStopped, onCamelContextStopping, onComponentRemove, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.LifecycleStrategy
onComponentRemove, onContextInitialized, onContextStarted, onContextStarting, onContextStopping, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove
-
Constructor Details
-
MainAutowiredLifecycleStrategy
public MainAutowiredLifecycleStrategy(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.apache.camel.Ordered
-
onContextInitializing
public void onContextInitializing(org.apache.camel.CamelContext context) throws org.apache.camel.VetoCamelContextStartException - Specified by:
onContextInitializing
in interfaceorg.apache.camel.spi.LifecycleStrategy
- Throws:
org.apache.camel.VetoCamelContextStartException
-
onContextStopped
public void onContextStopped(org.apache.camel.CamelContext context) - Specified by:
onContextStopped
in interfaceorg.apache.camel.spi.LifecycleStrategy
-
onComponentAdd
- Specified by:
onComponentAdd
in interfaceorg.apache.camel.spi.LifecycleStrategy
- Overrides:
onComponentAdd
in classorg.apache.camel.support.LifecycleStrategySupport
-
onDataFormatCreated
- Specified by:
onDataFormatCreated
in interfaceorg.apache.camel.spi.LifecycleStrategy
-
onLanguageCreated
- Specified by:
onLanguageCreated
in interfaceorg.apache.camel.spi.LifecycleStrategy
-
isEnabled
-
isEnabled
-
isEnabled
-