Class StubComponentAutowireStrategy

java.lang.Object
org.apache.camel.support.LifecycleStrategySupport
org.apache.camel.test.junit5.StubComponentAutowireStrategy
All Implemented Interfaces:
org.apache.camel.Ordered, org.apache.camel.spi.AutowiredLifecycleStrategy, org.apache.camel.spi.LifecycleStrategy

public class StubComponentAutowireStrategy 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

    Constructors
    Constructor
    Description
    StubComponentAutowireStrategy(org.apache.camel.CamelContext camelContext, String pattern)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    onComponentAdd(String name, org.apache.camel.Component component)
     
    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, onContextInitializing, onContextStarted, onContextStarting, onContextStopped, onContextStopping, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove
  • Constructor Details

    • StubComponentAutowireStrategy

      public StubComponentAutowireStrategy(org.apache.camel.CamelContext camelContext, String pattern)
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apache.camel.Ordered
    • 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