Package org.apache.camel.spi
Interface LocalBeanRepositoryAware
-
public interface LocalBeanRepositoryAwareAllows aBeanRepositoryto temporary have a local repository take precedence, such as when creating route templates to give more flexibility.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanRepositorygetLocalBeanRepository()Gets the local bean repository (if any in use)voidsetLocalBeanRepository(BeanRepository repository)Sets a special local bean repository (ie thread local) that take precedence and will use first, if a bean exists.
-
-
-
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)
-
-