spring-framework / org.springframework.jms.support.destination / BeanFactoryDestinationResolver / <init>

<init>

BeanFactoryDestinationResolver()

Create a new instance of the BeanFactoryDestinationResolver class.

The BeanFactory to access must be set via setBeanFactory.

See Also
#setBeanFactory

BeanFactoryDestinationResolver(beanFactory: BeanFactory)

Create a new instance of the BeanFactoryDestinationResolver class.

Use of this constructor is redundant if this object is being created by a Spring IoC container, as the supplied BeanFactory will be replaced by the BeanFactory that creates it (c.f. the BeanFactoryAware contract). So only use this constructor if you are using this class outside the context of a Spring IoC container.

Parameters

beanFactory - the bean factory to be used to lookup javax.jms.Destination