DestinationResolver that interprets a destination
name as the bean name of a MessageChannel and looks up the bean in
the configured BeanFactory.
| Modifier and Type | Field and Description |
|---|---|
| private BeanFactory |
| Access | Constructor and Description |
|---|---|
| public | BeanFactoryMessageChannelDestinationResolver()
A default constructor that can be used when the resolver itself is configured
as a Spring bean and will have the |
| public | BeanFactoryMessageChannelDestinationResolver(BeanFactory
the bean factory to perform lookups against beanFactory)A constructor that accepts a |
| Modifier and Type | Method and Description |
|---|---|
| public MessageChannel | resolveDestination(String
the destination name to resolve name)Implements org. Resolve the given destination name. |
| public void | setBeanFactory(BeanFactory
owning BeanFactory (never beanFactory)null).
The bean can immediately call methods on the factory.Implements org. Callback that supplies the owning factory to a bean instance. |
| beanFactory | back to summary |
|---|---|
| private BeanFactory beanFactory
| |
| BeanFactoryMessageChannelDestinationResolver | back to summary |
|---|---|
| public BeanFactoryMessageChannelDestinationResolver() A default constructor that can be used when the resolver itself is configured
as a Spring bean and will have the | |
| BeanFactoryMessageChannelDestinationResolver | back to summary |
|---|---|
| public BeanFactoryMessageChannelDestinationResolver(BeanFactory beanFactory) A constructor that accepts a
| |
| resolveDestination | back to summary |
|---|---|
| public MessageChannel resolveDestination(String name) Implements org. Doc from org. Resolve the given destination name.
| |
| setBeanFactory | back to summary |
|---|---|
| public void setBeanFactory(BeanFactory beanFactory) Implements org. Doc from org. Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties
but before an initialization callback such as
| |