DestinationResolverimplementation based on a Spring
- Mark Fisher, Gary Russell, Artem Bilan
- See Also:
BeanFactoryChannelResolverpublic BeanFactoryChannelResolver()Create a new instance of the
The BeanFactory to access must be set via
setBeanFactory. This will happen automatically if this resolver is defined within an ApplicationContext thereby receiving the callback upon initialization.
(BeanFactory beanFactory)Create a new instance of the
Use of this constructor is redundant if this object is being created by a Spring IoC container as the supplied
BeanFactorywill be replaced by the
BeanFactorythat creates it (c.f. the
BeanFactoryAwarecontract). So only use this constructor if you are instantiating this object explicitly rather than defining a bean.
beanFactory- the bean factory to be used to lookup