@Deprecated public class BeanFactoryConnectionFactoryLookup extends Object implements ConnectionFactoryLookup, BeanFactoryAware
ConnectionFactoryLookupimplementation based on a Spring
Will lookup Spring managed beans identified by bean name, expecting them to be of type
|Constructor and Description|
Creates a new
Create a new instance of the
|Modifier and Type||Method and Description|
BeanFactory to access must be set via
public BeanFactoryConnectionFactoryLookup(BeanFactory beanFactory)
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 (see the
contract). So only use this constructor if you are using this class outside the context of a Spring IoC container.
beanFactory- the bean factory to be used to lookup
public void setBeanFactory(BeanFactory beanFactory)
public ConnectionFactory getConnectionFactory(String connectionFactoryName) throws ConnectionFactoryLookupFailureException
ConnectionFactoryidentified by the given name.
Copyright © 2018–2021 Pivotal Software, Inc.. All rights reserved.