Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOrder()  
      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, adapt, adapt, onCamelContextInitialized, onCamelContextInitializing, onCamelContextStart, onCamelContextStarted, onCamelContextStarting, onCamelContextStop, onCamelContextStopped, onCamelContextStopping, onComponentRemove, onContextStart, onContextStop, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove
      • Methods inherited from interface org.apache.camel.spi.LifecycleStrategy

        onComponentRemove, onContextInitialized, onContextStart, onContextStarted, onContextStarting, onContextStop, onContextStopping, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove
    • Constructor Detail

      • MainAutowiredLifecycleStrategy

        public MainAutowiredLifecycleStrategy​(org.apache.camel.CamelContext camelContext)
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.apache.camel.Ordered
      • onContextInitializing

        public void onContextInitializing​(org.apache.camel.CamelContext context)
                                   throws org.apache.camel.VetoCamelContextStartException
        Specified by:
        onContextInitializing in interface org.apache.camel.spi.LifecycleStrategy
        Throws:
        org.apache.camel.VetoCamelContextStartException
      • onContextStopped

        public void onContextStopped​(org.apache.camel.CamelContext context)
        Specified by:
        onContextStopped in interface org.apache.camel.spi.LifecycleStrategy
      • onComponentAdd

        public void onComponentAdd​(String name,
                                   org.apache.camel.Component component)
        Specified by:
        onComponentAdd in interface org.apache.camel.spi.LifecycleStrategy
        Overrides:
        onComponentAdd in class org.apache.camel.support.LifecycleStrategySupport
      • onDataFormatCreated

        public void onDataFormatCreated​(String name,
                                        org.apache.camel.spi.DataFormat dataFormat)
        Specified by:
        onDataFormatCreated in interface org.apache.camel.spi.LifecycleStrategy
      • onLanguageCreated

        public void onLanguageCreated​(String name,
                                      org.apache.camel.spi.Language language)
        Specified by:
        onLanguageCreated in interface org.apache.camel.spi.LifecycleStrategy