public interface LocalBeanRepositoryAware
BeanRepository
to temporary have a local repository take precedence, such as when creating route
templates to give more flexibility.Modifier and Type | Method and Description |
---|---|
BeanRepository |
getLocalBeanRepository()
Gets the local bean repository (if any in use)
|
void |
setLocalBeanRepository(BeanRepository repository)
Sets a special local bean repository (ie thread local) that take precedence and will use first, if a bean exists.
|
void setLocalBeanRepository(BeanRepository repository)
repository
- the local repository, or null to unset when no longer needed.BeanRepository getLocalBeanRepository()
Apache Camel