Package org.apache.camel.spi
Interface LocalBeanRepositoryAware
-
public interface LocalBeanRepositoryAware
Allows aBeanRepository
to 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 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.
-
-
-
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)
-
-