public class NarayanaXAConnectionFactoryWrapper extends Object implements XAConnectionFactoryWrapper
Constructor and Description |
---|
NarayanaXAConnectionFactoryWrapper(TransactionManager transactionManager,
NarayanaRecoveryManagerBean recoveryManager,
NarayanaProperties properties)
Create a new
NarayanaXAConnectionFactoryWrapper instance. |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
wrapConnectionFactory(XAConnectionFactory xaConnectionFactory)
Wrap the specific
XAConnectionFactory and enroll it with a JTA
TransactionManager . |
public NarayanaXAConnectionFactoryWrapper(TransactionManager transactionManager, NarayanaRecoveryManagerBean recoveryManager, NarayanaProperties properties)
NarayanaXAConnectionFactoryWrapper
instance.transactionManager
- the underlying transaction managerrecoveryManager
- the underlying recovery managerproperties
- the Narayana propertiespublic ConnectionFactory wrapConnectionFactory(XAConnectionFactory xaConnectionFactory)
XAConnectionFactoryWrapper
XAConnectionFactory
and enroll it with a JTA
TransactionManager
.wrapConnectionFactory
in interface XAConnectionFactoryWrapper
xaConnectionFactory
- the connection factory to wrapCopyright © 2017 Pivotal Software, Inc.. All rights reserved.