Class StubBeanRepository

java.lang.Object
org.apache.camel.main.download.StubBeanRepository
All Implemented Interfaces:
org.apache.camel.spi.BeanRepository

public class StubBeanRepository extends Object implements org.apache.camel.spi.BeanRepository
  • Constructor Details

    • StubBeanRepository

      public StubBeanRepository(String stubPattern)
  • Method Details

    • lookupByName

      public Object lookupByName(String name)
      Specified by:
      lookupByName in interface org.apache.camel.spi.BeanRepository
    • lookupByNameAndType

      public <T> T lookupByNameAndType(String name, Class<T> type)
      Specified by:
      lookupByNameAndType in interface org.apache.camel.spi.BeanRepository
    • findByTypeWithName

      public <T> Map<String,T> findByTypeWithName(Class<T> type)
      Specified by:
      findByTypeWithName in interface org.apache.camel.spi.BeanRepository
    • findByType

      public <T> Set<T> findByType(Class<T> type)
      Specified by:
      findByType in interface org.apache.camel.spi.BeanRepository