wrapConnectionFactory

abstract fun wrapConnectionFactory(connectionFactory: XAConnectionFactory): ConnectionFactory

Wrap the specific XAConnectionFactory and enroll it with a JTA TransactionManager.

Return

the wrapped connection factory

Parameters

connectionFactory

the connection factory to wrap

Throws

if the connection factory cannot be wrapped