@FunctionalInterface public interface XAConnectionFactoryWrapper
XAConnectionFactory
enrolling it with a
JTA TransactionManager
.Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
wrapConnectionFactory(XAConnectionFactory connectionFactory)
Wrap the specific
XAConnectionFactory and enroll it with a JTA
TransactionManager . |
ConnectionFactory wrapConnectionFactory(XAConnectionFactory connectionFactory) throws Exception
XAConnectionFactory
and enroll it with a JTA
TransactionManager
.connectionFactory
- the connection factory to wrapException
- if the connection factory cannot be wrappedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.