SingleConnectionFactoryLookup instead.@Deprecated public class SingleConnectionFactoryLookup extends Object implements ConnectionFactoryLookup
ConnectionFactoryLookup that simply wraps a single given ConnectionFactory,
returned for any connection factory name.| Constructor and Description |
|---|
SingleConnectionFactoryLookup(ConnectionFactory connectionFactory)
Deprecated.
Create a new instance of the
SingleConnectionFactoryLookup class. |
| Modifier and Type | Method and Description |
|---|---|
ConnectionFactory |
getConnectionFactory(String connectionFactoryName)
Deprecated.
Retrieve the
ConnectionFactory identified by the given name. |
public SingleConnectionFactoryLookup(ConnectionFactory connectionFactory)
SingleConnectionFactoryLookup class.connectionFactory - the single ConnectionFactory to wrap.public ConnectionFactory getConnectionFactory(String connectionFactoryName) throws ConnectionFactoryLookupFailureException
ConnectionFactoryLookupConnectionFactory identified by the given name.getConnectionFactory in interface ConnectionFactoryLookupconnectionFactoryName - the name of the ConnectionFactory.ConnectionFactory (never null).ConnectionFactoryLookupFailureException - if the lookup failed.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.