Interface ConnectionFactoryLookup
- All Known Implementing Classes:
BeanFactoryConnectionFactoryLookup
,MapConnectionFactoryLookup
,SingleConnectionFactoryLookup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for looking up
ConnectionFactory
by name.- Since:
- 5.3
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionFactory
(String connectionFactoryName) Retrieve theConnectionFactory
identified by the given name.
-
Method Details
-
getConnectionFactory
ConnectionFactory getConnectionFactory(String connectionFactoryName) throws ConnectionFactoryLookupFailureException Retrieve theConnectionFactory
identified by the given name.- Parameters:
connectionFactoryName
- the name of theConnectionFactory
- Returns:
- the
ConnectionFactory
(nevernull
) - Throws:
ConnectionFactoryLookupFailureException
- if the lookup failed
-