Interface LocalBeanRepositoryAware


  • public interface LocalBeanRepositoryAware
    Allows a BeanRepository to temporary have a local repository take precedence, such as when creating route templates to give more flexibility.
    • Method Detail

      • setLocalBeanRepository

        void setLocalBeanRepository​(BeanRepository repository)
        Sets a special local bean repository (ie thread local) that take precedence and will use first, if a bean exists.
        Parameters:
        repository - the local repository, or null to unset when no longer needed.
      • getLocalBeanRepository

        BeanRepository getLocalBeanRepository()
        Gets the local bean repository (if any in use)